Advertisement
Guest User

vagrant-vbguest-create-symlink

a guest
Apr 9th, 2014
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class MyInstaller < VagrantVbguest::Installers::Linux
  2. def install(opts=nil, &block)
  3. super
  4. communicate.sudo('ln -s /opt/VBoxGuestAdditions-*/lib/VBoxGuestAdditions /usr/lib', opts, &block)
  5. end
  6. end
  7.  
  8. Vagrant.configure("2") do |config|
  9. config.vbguest.installer = MyInstaller
  10. ...
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement