Use > system prompt as that's robots expectation
[releng/builder.git] / jenkins-scripts / basic_settings.sh
1 #!/bin/bash
2
3 #Increase limits
4 cat <<EOF > /etc/security/limits.d/jenkins.conf
5 jenkins         soft    nofile          16000
6 jenkins         hard    nofile          16000
7 EOF
8
9 cat <<EOSSH >> /etc/ssh/ssh_config
10 Host *
11   ServerAliveInterval 60
12
13 # we don't want to do SSH host key checking on Rackspace spin-up systems
14 # Dallas (ODL)
15 Host 10.29.12.* 10.29.13.* 10.29.14.* 10.29.15.*
16   StrictHostKeyChecking no
17   UserKnownHostsFile /dev/null
18
19 # Private Cloud (ODL)
20 Host 10.29.8.* 10.29.9.* 10.29.10.* 10.29.11.*
21   StrictHostKeyChecking no
22   UserKnownHostsFile /dev/null
23
24 # Vexxhost (ODL)
25 Host 10.30.170.* 10.30.171.*
26   StrictHostKeyChecking no
27   UserKnownHostsFile /dev/null
28 EOSSH
29
30 cat <<EOKNOWN >  /etc/ssh/ssh_known_hosts
31 [140.211.169.26]:29418,[git.opendaylight.org]:29418 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAyRXyHEw/P1iZr/fFFzbodT5orVV/ftnNRW59Zh9rnSY5Rmbc9aygsZHdtiWBERVVv8atrJSdZool75AglPDDYtPICUGWLR91YBSDcZwReh5S9es1dlQ6fyWTnv9QggSZ98KTQEuE3t/b5SfH0T6tXWmrNydv4J2/mejKRRLU2+oumbeVN1yB+8Uau/3w9/K5F5LgsDDzLkW35djLhPV8r0OfmxV/cAnLl7AaZlaqcJMA+2rGKqM3m3Yu+pQw4pxOfCSpejlAwL6c8tA9naOvBkuJk+hYpg5tDEq2QFGRX5y1F9xQpwpdzZROc5hdGYntM79VMMXTj+95dwVv/8yTsw==
32 EOKNOWN
33
34 # To handle the prompt style that is expected all over the environment
35 # with how use use robotframework we need to make sure that it is
36 # consistent for any of the users that are created during dynamic spin
37 # ups
38 echo 'PS1="[\u@\h \W]> "' >> /etc/skel/.bashrc
39
40 # vim: sw=2 ts=2 sts=2 et :