Changing JJB for TSDR to run scripts only in supported branches.
[releng/builder.git] / jenkins-scripts / basic_settings.sh
index 1dae79c817e22136585025e3c3c2441905c71386..9f6d2a89948d0a25a8a4a24102630ada494e8623 100755 (executable)
@@ -1,17 +1,28 @@
 #!/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
 
 # we don't want to do SSH host key checking on Rackspace spin-up systems
+# Dallas (ODL)
 Host 10.30.11.*
   StrictHostKeyChecking no
   UserKnownHostsFile /dev/null
+
+# Dallas (ODLForge)
+Host 10.30.12.*
+  StrictHostKeyChecking no
+  UserKnownHostsFile /dev/null
+
+# Chicago (ODL)
+Host 10.30.32.*
+  StrictHostKeyChecking no
+  UserKnownHostsFile /dev/null
 EOSSH
 
 cat <<EOKNOWN >  /etc/ssh/ssh_known_hosts