Isaac Wilcove | cfd9a03 | 2017-01-15 00:08:58 +0000 | [diff] [blame] | 1 | #!/usr/bin/env bash |
2 | |||||
3 | set -e | ||||
4 | set -u | ||||
5 | |||||
6 | export DEBIAN_FRONTEND=noninteractive | ||||
7 | |||||
8 | # Install the kernel sources before the guest additions to guarantee that | ||||
9 | # we can compile the kernel module. | ||||
10 | apt-get install -q -y linux-headers-amd64 | ||||
11 | |||||
12 | # Now we can install the guest additions. | ||||
13 | apt-get install -q -y \ | ||||
14 | virtualbox-guest-dkms \ | ||||
15 | virtualbox-guest-x11 |