Upgrade to global-jjb v0.8.2
[releng/builder.git] / jenkins-scripts / basic_settings.sh
index 1dae79c817e22136585025e3c3c2441905c71386..bca93210b8e01a949bc1950b392dbbb34eb4b97b 100755 (executable)
@@ -1,15 +1,23 @@
 #!/bin/bash
 
 #Increase limits
-cat <<EOF > /etc/security/limits.d/jenkins
-jenkins               soft     nofile         16000
-jenkins               hard    nofile         16000
+cat <<EOF > /etc/security/limits.d/jenkins.conf
+jenkins         soft    nofile          16000
+jenkins         hard    nofile          16000
 EOF
 
 cat <<EOSSH >> /etc/ssh/ssh_config
+Host *
+  ServerAliveInterval 60
 
 # we don't want to do SSH host key checking on Rackspace spin-up systems
-Host 10.30.11.*
+# Dallas (ODL)
+Host 10.29.12.* 10.29.13.* 10.29.14.* 10.29.15.*
+  StrictHostKeyChecking no
+  UserKnownHostsFile /dev/null
+
+# Private Cloud (ODL)
+Host 10.29.8.* 10.29.9.* 10.29.10.* 10.29.11.*
   StrictHostKeyChecking no
   UserKnownHostsFile /dev/null
 EOSSH