mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-02-14 17:49:59 +00:00
Add htop and set max conntrack
This commit is contained in:
@@ -28,7 +28,8 @@ while addresses:
|
||||
|
||||
os.system("sudo easy_install pip")
|
||||
os.system("sudo pip install docker-compose==1.3.0rc1")
|
||||
os.system("sudo apt-get -qy install pssh apache2-utils httping")
|
||||
os.system("sudo apt-get -qy install pssh apache2-utils httping htop")
|
||||
os.system("echo 1000000 | sudo tee /proc/sys/net/nf_conntrack_max")
|
||||
EOF
|
||||
pssh -I "chmod +x /tmp/postprep.py && /tmp/postprep.py" < ips.txt
|
||||
pssh "[ -f .ssh/id_rsa ] || scp -o StrictHostKeyChecking=no node1:.ssh/id_rsa* .ssh"
|
||||
|
||||
Reference in New Issue
Block a user