Sha256: e96f99a484f9de4e9b5449a8d54c49519c5e9f640e93687639494f8f5fbcee5b

Contents?: true

Size: 1.18 KB

Versions: 24

Compression:

Stored size: 1.18 KB

Contents

if test -f .vbox_version ; then
  # The netboot installs the VirtualBox support (old) so we have to remove it
  if test -f /etc/init.d/virtualbox-ose-guest-utils ; then
    /etc/init.d/virtualbox-ose-guest-utils stop
  fi

  rmmod vboxguest
  aptitude -y purge virtualbox-ose-guest-x11 virtualbox-ose-guest-dkms virtualbox-ose-guest-utils

  # Install dkms for dynamic compiles

  apt-get install -y dkms

  # If libdbus is not installed, virtualbox will not autostart
  apt-get -y install --no-install-recommends libdbus-1-3

  # Install the VirtualBox guest additions
  VBOX_VERSION=$(cat .vbox_version)
  VBOX_ISO=VBoxGuestAdditions_$VBOX_VERSION.iso
  mount -o loop $VBOX_ISO /mnt
  yes|sh /mnt/VBoxLinuxAdditions.run
  umount /mnt

  # Start the newly build driver
  /etc/init.d/vboxadd start

  # Make a temporary mount point
  mkdir /tmp/veewee-validation

  # Test mount the veewee-validation
  mount -t vboxsf veewee-validation /tmp/veewee-validation

  # Implement old cleanup-virtualbox.sh
  rm $VBOX_ISO

  # Symlink vbox guest additions. Fix for https://github.com/mitchellh/vagrant/issues/3341
  ln -s /opt/VBoxGuestAdditions-$VBOX_VERSION/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions
fi

Version data entries

24 entries across 12 versions & 1 rubygems

Version Path
veewee-0.5.0.alpha4 templates/Debian-7.6.0-i386-netboot/virtualbox.sh
veewee-0.5.0.alpha4 templates/Debian-7.5.0-i386-netboot/virtualbox.sh
veewee-0.5.0.alpha3 templates/Debian-7.6.0-i386-netboot/virtualbox.sh
veewee-0.5.0.alpha3 templates/Debian-7.5.0-i386-netboot/virtualbox.sh
veewee-0.5.0.alpha2 templates/Debian-7.5.0-i386-netboot/virtualbox.sh
veewee-0.5.0.alpha2 templates/Debian-7.6.0-i386-netboot/virtualbox.sh
veewee-0.5.0.alpha1 templates/Debian-7.6.0-i386-netboot/virtualbox.sh
veewee-0.5.0.alpha1 templates/Debian-7.5.0-i386-netboot/virtualbox.sh
veewee-0.4.5.1 templates/Debian-7.5.0-i386-netboot/virtualbox.sh
veewee-0.4.5.1 templates/Debian-7.6.0-i386-netboot/virtualbox.sh
veewee-0.4.5 templates/Debian-7.6.0-i386-netboot/virtualbox.sh
veewee-0.4.5 templates/Debian-7.5.0-i386-netboot/virtualbox.sh
veewee-0.4.5.pre1 templates/Debian-7.5.0-i386-netboot/virtualbox.sh
veewee-0.4.5.pre1 templates/Debian-7.6.0-i386-netboot/virtualbox.sh
veewee-0.4.4 templates/Debian-7.6.0-i386-netboot/virtualbox.sh
veewee-0.4.4 templates/Debian-7.5.0-i386-netboot/virtualbox.sh
veewee-0.4.3 templates/Debian-7.6.0-i386-netboot/virtualbox.sh
veewee-0.4.3 templates/Debian-7.5.0-i386-netboot/virtualbox.sh
veewee-0.4.2 templates/Debian-7.6.0-i386-netboot/virtualbox.sh
veewee-0.4.2 templates/Debian-7.5.0-i386-netboot/virtualbox.sh