6 # pull in bootstrap functions
7 . /vagrant/lib/bootstrap-functions.sh
9 echo "---> Attempting to detect OS"
11 if [ -f /usr/bin/yum ]
13 echo "---> RH type system detected"
18 elif [ -f /usr/bin/apt-get ]
20 echo "---> Debian type system detected"
21 export DEBIAN_FRONTEND=noninteractive
23 deb_enable_serial_console
31 # It is not necessary to load uio module during bootstrap phase
32 # deb_probe_modules uio_pci_generic
34 # Make sure uio loads at boot time
35 deb_enable_modules 'uio_pci_generic'
39 # It is not necessary to mount hugepages during bootstrap phase
44 echo "bootstrap process (PID=$$) complete."