Created
October 7, 2012 14:17
-
-
Save Mic92/3848508 to your computer and use it in GitHub Desktop.
Update virtualbox additions in vagrant after upgrading linux kernel using chef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash "update virtual box additions" do | |
# http://vagrantup.com/v1/docs/troubleshooting.html | |
code <<-EOS | |
/etc/init.d/vboxadd setup | |
EOS | |
# FIXME only works as long the kernel version doesn't change! | |
#not_if do | |
# # check if vboxsf driver is loaded | |
# `lsmod` =~ /vboxsf/ | |
#end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment