X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jenkins-scripts%2Fubuntu-docker-ovs.sh;h=b4e0207e4566f91830e52d9b9d60f574cb41b294;hb=80f1c7fe40cc0b4cc727dc57bf7f98ef4be6d464;hp=4b442d9100a014fde6b799710f1ce7a56005ef96;hpb=67105890d2c8b760d901a6948291915021799d8d;p=releng%2Fbuilder.git diff --git a/jenkins-scripts/ubuntu-docker-ovs.sh b/jenkins-scripts/ubuntu-docker-ovs.sh old mode 100644 new mode 100755 index 4b442d910..b4e0207e4 --- a/jenkins-scripts/ubuntu-docker-ovs.sh +++ b/jenkins-scripts/ubuntu-docker-ovs.sh @@ -1,5 +1,16 @@ #!/bin/bash +# make sure we don't require tty for sudo operations +cat </etc/sudoers.d/89-jenkins-user-defaults +Defaults:jenkins !requiretty +jenkins ALL = NOPASSWD: ALL +EOF + +# Do the final install of OVS that the has to be done at boot time for +# some reason due to how the snapshots keep behaving. +dpkg --install /root/openvswitch-datapath-dkms* && \ +dpkg --install /root/openvswitch-{common,switch}* + # add user jenkins to docker group /usr/sbin/usermod -a -G docker jenkins @@ -7,4 +18,3 @@ docker pull alagalah/odlpoc_ovs230 # vim: sw=2 ts=2 sts=2 et : -