+# Fix grub-pc on Virtualbox with Ubuntu
+export DEBIAN_FRONTEND=noninteractive
+
# Standard update + upgrade dance
apt-get update
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
# Build vpp
sudo -H -u vagrant make PLATFORM=vpp TAG=vpp_debug install-deb
- # Stick the dpdk module in the canonical place
- cp ./install-vpp_debug-native/dpdk/kmod/igb_uio.ko /lib/modules/`uname -r`/kernel/drivers/uio/
- depmod
+ # Install debian packages
+ dpkg -i *.deb
- # Load igb_uio into the kernel
- modprobe igb_uio
+ # Start vpp
+ start vpp
- # Make sure igb_uio loads at boot time
- # Make sure uio loads at boot time
- echo igb_uio >> /lib/modprobe.d/igb_uio.conf
cd ~vagrant/
cat /vagrant/README