Skip to content

Commit

Permalink
Merge pull request #648 from devopxteam/master
Browse files Browse the repository at this point in the history
Speed up booting process for FreeBSD saving 10 seconds in boot time
  • Loading branch information
Seth Thomas authored Sep 8, 2016
2 parents cd6bdb8 + 8261700 commit a87feed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/freebsd/vmtools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ virtualbox-iso|virtualbox-ovf)
echo 'virtio_balloon_load="YES"' >>/boot/loader.conf;
echo 'if_vtnet_load="YES"' >>/boot/loader.conf;

# Don't waste 10 seconds waiting for boot
echo 'autoboot_delay="-1"' >>/boot/loader.conf;

echo 'ifconfig_vtnet0_name="em0"' >>/etc/rc.conf;
echo 'ifconfig_vtnet1_name="em1"' >>/etc/rc.conf;
echo 'ifconfig_vtnet2_name="em2"' >>/etc/rc.conf;
Expand Down

0 comments on commit a87feed

Please sign in to comment.