Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use --force-install for VMware tools #454

Merged
merged 1 commit into from
Sep 22, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/common/vmtools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ vmware-iso|vmware-vmx)
mkdir -p /tmp/vmfusion-archive;
mount -o loop $HOME_DIR/linux.iso /tmp/vmfusion;
tar xzf /tmp/vmfusion/VMwareTools-*.tar.gz -C /tmp/vmfusion-archive;
/tmp/vmfusion-archive/vmware-tools-distrib/vmware-install.pl --default;
/tmp/vmfusion-archive/vmware-tools-distrib/vmware-install.pl --force-install;
umount /tmp/vmfusion;
rm -rf /tmp/vmfusion;
rm -rf /tmp/vmfusion-archive;
Expand Down
2 changes: 1 addition & 1 deletion scripts/freebsd/vmtools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ vmware-iso|vmware-vmx)
mdconfig -a -t vnode -f $HOME_DIR/freebsd.iso -u 0;
mount -t cd9660 /dev/md0 /tmp/vmfusion;
tar xzf /tmp/vmfusion/vmware-freebsd-tools.tar.gz -C /tmp/vmfusion-archive;
/tmp/vmfusion-archive/vmware-tools-distrib/vmware-install.pl --default;
/tmp/vmfusion-archive/vmware-tools-distrib/vmware-install.pl --force-install;
echo 'ifconfig_vxn0="dhcp"' >>/etc/rc.conf;
umount /tmp/vmfusion;
rm -rf /tmp/vmfusion;
Expand Down
2 changes: 1 addition & 1 deletion scripts/omnios/vmtools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ $PACKER_BUILDER_TYPE == 'vmware' ]; then
mount -o ro -F hsfs $VMTOOLSDEV /mnt/vmtools
mkdir /tmp/vmfusion-archive
tar zxvf /mnt/vmtools/vmware-solaris-tools.tar.gz -C /tmp/vmfusion-archive
/tmp/vmfusion-archive/vmware-tools-distrib/vmware-install.pl --default
/tmp/vmfusion-archive/vmware-tools-distrib/vmware-install.pl --force-install
umount /mnt/vmtools
lofiadm -d $VMTOOLSDEV
rmdir /mnt/vmtools
Expand Down
2 changes: 1 addition & 1 deletion scripts/solaris10/vmtools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ else
mount -o ro -F hsfs $VMTOOLSDEV /cdrom
mkdir /tmp/vmfusion-archive
gtar zxvf /cdrom/vmware-solaris-tools.tar.gz -C /tmp/vmfusion-archive
/tmp/vmfusion-archive/vmware-tools-distrib/vmware-install.pl --default
/tmp/vmfusion-archive/vmware-tools-distrib/vmware-install.pl --force-install
umount /cdrom
lofiadm -d $VMTOOLSDEV
rm -rf /mnt/vmtools
Expand Down