Sha256: f933e8e3b512b36ce5c1ddc3bc69879cae2e85cde12f40decdf26c934950e46a
Contents?: true
Size: 863 Bytes
Versions: 6
Compression:
Stored size: 863 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..." 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
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
boxes-2.5.0 | scripts/vmtools.sh |
boxes-2.4.0 | scripts/vmtools.sh |
boxes-2.3.0 | scripts/vmtools.sh |
boxes-2.2.0 | scripts/vmtools.sh |
boxes-2.1.1 | scripts/vmtools.sh |
boxes-2.1.0 | scripts/vmtools.sh |