-#!/bin/bash
+#!/bin/sh
# make sure we don't require tty for sudo operations
cat <<EOF >/etc/sudoers.d/89-jenkins-user-defaults
# 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}*
+dpkg --install /root/openvswitch-datapath-dkms* /root/openvswitch-common* /root/openvswitch-switch*
# add user jenkins to docker group
/usr/sbin/usermod -a -G docker jenkins