summaryrefslogtreecommitdiffstats
path: root/build-root/vagrant
diff options
context:
space:
mode:
authorMatt Johnson <matjohn2@cisco.com>2016-01-11 12:16:46 -0800
committerMatt Johnson <matjohn2@cisco.com>2016-01-11 14:29:59 -0800
commit3b566bb613ff918e5a016a190cb2efcfdea02f5f (patch)
treefbcdf94089a1c6bcc33572d6e2be302c89c17cb1 /build-root/vagrant
parentcda948225887b2f53032ffb321f2d922b9836bd2 (diff)
Fix vagrant grub issue with ubuntu & virtualbox
Change-Id: I8ff952a02c9c51070c41bdca72fb4f7ed8a7c8ba Signed-off-by: Matt Johnson <matjohn2@cisco.com>
Diffstat (limited to 'build-root/vagrant')
-rw-r--r--build-root/vagrant/bootstrap.ubuntu1404.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/build-root/vagrant/bootstrap.ubuntu1404.sh b/build-root/vagrant/bootstrap.ubuntu1404.sh
index 89cd4e8eac4..18023010976 100644
--- a/build-root/vagrant/bootstrap.ubuntu1404.sh
+++ b/build-root/vagrant/bootstrap.ubuntu1404.sh
@@ -1,3 +1,6 @@
+# Fix grub-pc on Virtualbox with Ubuntu
+export DEBIAN_FRONTEND=noninteractive
+
# Standard update + upgrade dance
apt-get update
apt-get upgrade -y
@@ -7,7 +10,7 @@ apt-get upgrade -y
sudo update-alternatives --install /bin/sh sh /bin/bash 100
# Install build tools
-apt-get install -y build-essential autoconf automake bison libssl-dev ccache libtool git dkms debhelper
+apt-get install -y build-essential autoconf automake bison libssl-dev ccache libtool git dkms debhelper emacs
# Install other stuff
# apt-get install -y qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils