Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9124152
install-vbguest.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
533 B
Subscribers
None
install-vbguest.sh
View Options
#!/bin/bash
# Install kernel headers
export
DEBIAN_FRONTEND
=
noninteractive
apt-get
install
-y
build-essential
linux-headers-
$(
uname
-r
)
# mount the vbguest iso
env
mount
VBoxGuestAdditions_*.iso
/media/cdrom
cd
/media/cdrom
./VBoxLinuxAdditions.run
if
!
test
-f
/lib/modules/
$(
uname
-r
)
/kernel/drivers/virt/vboxguest/vboxguest.ko
then
echo
"vboxsf module not detected"
echo
"Installation of guest additions was not successful"
exit
1
fi
####
# Cleanup
####
umount
/media/cdrom
rm
-v
/home/vagrant/VBoxGuestAdditions*.iso
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, Jun 21, 6:45 PM (2 w, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3369491
Attached To
rSENV Puppet Environment
Event Timeline
Log In to Comment