Add robot options to stable/lithium LISP CSIT
[releng/builder.git] / jenkins-scripts / mininet.sh
index cd8aecf396c4708c11e42e30e6307d03e5eceb48..3fbcd03f2d78e1e9e036a9799d2eb7b0e3f4c29a 100755 (executable)
@@ -11,6 +11,16 @@ EOF
 # built, they are now. Make sure they're install
 yum install -q -y netopeer-server-sl CPqD-ofsoftswitch13
 
+# netaddr and ipaddress libraries can be useful on this system as
+# some tests are starting to push pyhon scripts/tools to this VM
+# during CI tests
+yum install -q -y python-{ipaddr,iptools,netaddr}
+
+#For executing the CSIT test cases for VTN Coordinator
+yum install -q -y uuid libxslt libcurl unixODBC json-c
+chown jenkins /usr/local/vtn
+
+
 # the vagrant configuration for netopeer doesn't configure SSH correctly
 # as it uses and here document via echo and not cat fix that
 cat << EOSSH >> /etc/ssh/sshd_config
@@ -21,6 +31,11 @@ Port 830
 Subsystem netconf /usr/bin/netopeer-server-sl
 EOSSH
 
+# Configuring sshd to accept root login with password
+sed -ie 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
+sed -ie 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config
+chattr +i /etc/ssh/sshd_config
+
 # sshd has to get a restart because of the above
 service sshd restart