2 # Standard update + upgrade dance
11 sudo -H -u vagrant make bootstrap
12 sudo -H -u vagrant make pkg-rpm
16 (cd build-root/;sudo rpm -Uvh *.rpm)
18 # Disable all ethernet interfaces other than the default route
19 # interface so VPP will use those interfaces. The VPP auto-blacklist
20 # algorithm prevents the use of any physical interface contained in the
21 # routing table (i.e. "route --inet --inet6") preventing the theft of
22 # the management ethernet interface by VPP from the kernel.
23 for intf in $(ls /sys/class/net) ; do
24 if [ -d /sys/class/net/$intf/device ] &&
25 [ "$(route --inet --inet6 | grep default | grep $intf)" == "" ] ; then
30 # Install uio-pci-generic
31 modprobe uio_pci_generic