3 # make sure we don't require tty for sudo operations
4 cat <<EOF >/etc/sudoers.d/89-jenkins-user-defaults
5 Defaults:jenkins !requiretty
6 jenkins ALL = NOPASSWD: ALL
9 # Do the final install of OVS that the has to be done at boot time for
10 # some reason due to how the snapshots keep behaving.
11 dpkg --install /root/openvswitch-datapath-dkms* && \
12 dpkg --install /root/openvswitch-{common,switch}*
14 # add user jenkins to docker group
15 /usr/sbin/usermod -a -G docker jenkins
18 docker pull alagalah/odlpoc_ovs230
20 # vim: sw=2 ts=2 sts=2 et :