Sha256: e11233bbc03f9c800003aa0b29c0c217f02f4b39eb4bf1c403a6bbec489acc18
Contents?: true
Size: 896 Bytes
Versions: 9
Compression:
Stored size: 896 Bytes
Contents
#!/bin/bash ## # Configure the relevant VM tools for this builder. ## case $PACKER_BUILDER_TYPE in 'virtualbox-iso') echo "Installing VirtualBox Guest Additions..." apt-get -qy install dkms mount -o loop /home/vagrant/VBoxGuestAdditions.iso /mnt sh /mnt/VBoxLinuxAdditions.run umount /mnt rm -f /home/vagrant/VBoxGuestAdditions.iso ;; 'vmware-iso') echo "Installing VMware Tools..." apt-get -qy install fuse mkdir -p /mnt/cdrom mount -o loop /home/vagrant/linux.iso /mnt/cdrom cd /tmp tar -zxpf /mnt/cdrom/VMwareTools-*.tar.gz -C /tmp/ /tmp/vmware-tools-distrib/vmware-install.pl --force-install --default umount /mnt/cdrom rm -f /home/vagrant/linux.iso ;; *) printf "Nothing to do for the %s builder type.\n" $PACKER_BUILDER_TYPE ;; esac
Version data entries
9 entries across 9 versions & 1 rubygems