Add htop and set max conntrack

This commit is contained in:
Jerome Petazzoni
2015-06-07 19:23:28 -07:00
parent 83737b3217
commit e38c1984b6

View File

@@ -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"