Archive control node nova.conf
[releng/builder.git] / jenkins-scripts / ubuntu-docker-ovs.sh
1 #!/bin/bash
2
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
7 EOF
8
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}*
13
14 # add user jenkins to docker group
15 /usr/sbin/usermod -a -G docker jenkins
16
17 # pull docker images
18 docker pull alagalah/odlpoc_ovs230
19
20 # vim: sw=2 ts=2 sts=2 et :