-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Cannot mount VMware tools ISO #1795
Comments
pulled the following from the vmware.log file of the packer virtual machine:
|
Guest os type should be centos-64 or centos. |
Setting the guest os type to "centos-64" allowed the packer process to complete:
The problem with this approach is the .vmx file now has the guestos set to "centos-64" when it needs to have this set as "vmkernel5" for nested virtualization to work within virtual ESXi vms:
|
Setting the "guest_os_type" to "centos-64" combined with seting the "guestos" back to "vmkernel5" in a "vmx_data_post" section achieved the desired results. Here is the template I successfully used:
I now think I'm hitting something similar to issue #1457, where certain post processors do not seem to support the artifact returned by remote ESXi:
|
@sdorsett Is this problem ongoing or has it been fixed by an update to packer/post-processors since then? |
Closing since the original issue is solved. |
I'm hitting the same issue. Using packer 0.10.2, vmware_guest_os_type: darwin12-64, vmware-iso building on ESXi 5.5 target. Packer tries to install VMware Tools using vim-cmd, but this fails as the OSX Installation CD is inserted. After the provisioning steps complete, packer fails the build because the vim-cmd to install VMware Tools failed. Packer should try to eject the CD or allow for provisioing scripts to install VMware Tools. Really it should be doing a functionality test to determine that VMware Tools is working, and it should allow the user to override, so that a VM can be built that doesn't have VMware Tools installed. |
@berney Could you please open a new issue. |
Using packer 7.5 with vmware-iso builder on Centos 6.5 installing ESXi 5.5 on a remote ESXi host. VNC shows the virtual machine properly installs, but the following errors show at the end of the install process:
The packer template I'm using specifies vmkernel5 for the guest_os_type, which doesn't have a VM tools ISO for tools install, but a shell provisioner handles installing vmware tools at the end of the install. The following is the packer template:
This template, without the remote_ options, succeeds with packer and fusion on OS X.
The text was updated successfully, but these errors were encountered: