diff options
author | varac <varacanero@zeromail.org> | 2016-01-18 09:09:46 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-01-18 09:09:46 +0100 |
commit | 3874b8f9459e814a7bbca24f9694c136981da278 (patch) | |
tree | eed693a5e362e8193029cdb572b0361f93b8832a /scripts/virtualbox.sh | |
parent | e6e6930638fc08b8c3d469dfc8bfd23e9b6304c7 (diff) |
install build essential and kernel headers only for vbox
Diffstat (limited to 'scripts/virtualbox.sh')
-rw-r--r-- | scripts/virtualbox.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/virtualbox.sh b/scripts/virtualbox.sh index 1404aa7..a791dc5 100644 --- a/scripts/virtualbox.sh +++ b/scripts/virtualbox.sh @@ -5,6 +5,10 @@ if [[ `facter virtual` != "virtualbox" ]]; then exit 0 fi +apt-get -y install linux-headers-$(uname -r) build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev unzip >/dev/null + + + mkdir -p /mnt/virtualbox mount -o loop /home/vagrant/VBoxGuest*.iso /mnt/virtualbox sh /mnt/virtualbox/VBoxLinuxAdditions.run |