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
29 deb_disable_apt_systemd_daily
33 # It is not necessary to load uio module during bootstrap phase
34 # deb_probe_modules uio_pci_generic
36 # Make sure uio loads at boot time
37 deb_enable_modules 'uio_pci_generic'
41 # It is not necessary to mount hugepages during bootstrap phase
46 echo "bootstrap process (PID=$$) complete."