Sha256: 34c9f0b527d10fbadca4d90605d1a226f4c2aa7c81f3a7cf331851466d408b5e

Contents?: true

Size: 1.3 KB

Versions: 12

Compression:

Stored size: 1.3 KB

Contents

#!/bin/bash

if [ -f .veewee_params ]
then
  . .veewee_params
fi

if test -f .vmfusion_version ; then                                                                                                                                          [15/436]

  cd /tmp
  mkdir -p /mnt/cdrom
  mount -o loop /home/vagrant/linux.iso /mnt/cdrom
  tar zxvf /mnt/cdrom/VMwareTools-*.tar.gz -C /tmp/
  /tmp/vmware-tools-distrib/vmware-install.pl -d
  rm /home/vagrant/linux.iso
  umount /mnt/cdrom

fi

if test -f .vbox_version ; then                                                                                                                                               [3/436]

  # Without libdbus virtualbox would not start automatically after compile
  apt-get -y install --no-install-recommends libdbus-1-3

  # The netboot installs the VirtualBox support (old) so we have to remove it
  /etc/init.d/virtualbox-ose-guest-utils stop
  rmmod vboxguest
  aptitude -y purge virtualbox-ose-guest-x11 virtualbox-ose-guest-dkms virtualbox-ose-guest-utils
  aptitude -y install dkms

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

  #Cleanup VirtualBox
  rm $VBOX_ISO
fi

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
veewee-0.5.0.alpha4 templates/ubuntu-12.04.2-server-amd64/vmtools.sh
veewee-0.5.0.alpha3 templates/ubuntu-12.04.2-server-amd64/vmtools.sh
veewee-0.5.0.alpha2 templates/ubuntu-12.04.2-server-amd64/vmtools.sh
veewee-0.5.0.alpha1 templates/ubuntu-12.04.2-server-amd64/vmtools.sh
veewee-0.4.5.1 templates/ubuntu-12.04.2-server-amd64/vmtools.sh
veewee-0.4.5 templates/ubuntu-12.04.2-server-amd64/vmtools.sh
veewee-0.4.5.pre1 templates/ubuntu-12.04.2-server-amd64/vmtools.sh
veewee-0.4.4 templates/ubuntu-12.04.2-server-amd64/vmtools.sh
veewee-0.4.3 templates/ubuntu-12.04.2-server-amd64/vmtools.sh
veewee-0.4.2 templates/ubuntu-12.04.2-server-amd64/vmtools.sh
veewee-0.4.1 templates/ubuntu-12.04.2-server-amd64/vmtools.sh
veewee-0.4.0 templates/ubuntu-12.04.2-server-amd64/vmtools.sh