mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 06:40:32 +00:00
Paragraphs (or stanzas) should cover 1 topic only. (#1062)
* Paragraphs (or stanzas) should cover 1 topic only. * No need for options.
This commit is contained in:
9
images/linux/scripts/base/apt.sh
Normal file
9
images/linux/scripts/base/apt.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get -yqq update
|
||||
apt-get -yqq dist-upgrade
|
||||
systemctl disable apt-daily.service
|
||||
systemctl disable apt-daily.timer
|
||||
systemctl disable apt-daily-upgrade.timer
|
||||
systemctl disable apt-daily-upgrade.service
|
||||
7
images/linux/scripts/base/limits.sh
Normal file
7
images/linux/scripts/base/limits.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo '* soft nofile 65536' >> /etc/security/limits.conf
|
||||
echo '* hard nofile 65536' >> /etc/security/limits.conf
|
||||
echo 'session required pam_limits.so' >> /etc/pam.d/common-session
|
||||
echo 'session required pam_limits.so' >> /etc/pam.d/common-session-noninteractive
|
||||
echo 'DefaultLimitNOFILE=65536' >> /etc/systemd/system.conf
|
||||
Reference in New Issue
Block a user