Install vlan package to the ubuntu-trusty-mininet
[releng/builder.git] / vagrant / ubuntu-mininet / bootstrap.sh
index 324c56d29198e8301c24e83f7e7e56f0ae11eedc..361eb8220f2f937dcc513417a9d8cd130bb12fcb 100644 (file)
@@ -4,7 +4,8 @@
 
 echo "---> Updating operating system"
 apt-get update -qq
-apt-get upgrade -y --force-yes -qq
+DEBIAN_FRONTEND=noninteractive apt-get upgrade -y --force-yes -qq \
+    -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"
 
 # To handle the prompt style that is expected all over the environment
 # with how use use robotframework we need to make sure that it is
@@ -94,4 +95,7 @@ cd $OFLOPS_DIR
 ./boot.sh
 ./configure --with-openflow-src-dir=$OF_DIR
 make
-make install
\ No newline at end of file
+make install
+
+# Install vlan for vlan based tests in VTN suites
+apt-get install -y --force-yes -qq vlan