2 # Standard update + upgrade dance
7 yum groupinstall 'Development Tools' -y
8 yum install openssl-devel -y
9 yum install glibc-static -y
11 # Install jdk and maven
12 yum install -y java-1.8.0-openjdk-devel
14 # Load the uio kernel module
15 modprobe uio_pci_generic
17 echo uio_pci_generic >> /etc/modules-load.d/uio_pci_generic.conf
19 # Setup for hugepages using upstart so it persists across reboots
20 sysctl -w vm.nr_hugepages=1024
21 echo "vm.nr_hugepages=1024" >> /etc/sysctl.conf
23 echo "hugetlbfs /mnt/huge hugetlbfs defaults 0 0" >> /etc/fstab
28 sudo -u vagrant mkdir git
31 # You will need to alter this line to reflect reality.
32 sudo -H -u vagrant git clone /vpp
36 if [ -d build-root ]; then
39 sudo -H -u vagrant ./bootstrap.sh
42 sudo -H -u vagrant make PLATFORM=vpp TAG=vpp_debug install-packages