guest_os_type with vmware-iso

2,519 views
Skip to first unread message

Chris Nuber

unread,
Jan 31, 2017, 3:47:01 PM1/31/17
to Packer
I've got a pretty vanilla installation of CentOS 6.x with the vmware workstation and tools installed.  When I attempt to build a basic template using the vmware-iso builder it hangs upon installation due to the default OS not being x64.  I've tried every combination under the sun regarding guest_os_type but they all return "[guestinfo] GuestInfoSendNicInfoXdr: update failed: request "SetGuestInfo  10 ", reply "Invalid guest information type." in the logs.

I was unable to find any documentation as to default guest_os_type values that might work.

Where do I go from here?

Alvaro Miranda Aguilera

unread,
Jan 31, 2017, 3:57:42 PM1/31/17
to packe...@googlegroups.com
hello

are the internal names used by vmware

this work fine for centos 64 bit:

"guest_os_type": "centos-64",

Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/66e05c93-a9bc-4a76-bb66-8d2b19400db2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Gabo Kete

unread,
Feb 1, 2017, 4:36:25 PM2/1/17
to Packer
Usually what I do is to create a VM withing VmWare chosing the OS that will be installed in the VM and if you have access to your ESXi ( I do because I have one running in my lab ) you can find the VMX file and look for the entry "guestos" or similar value. That value is the one VMWare uses and Packer defines into your VMware

As Alvaro Mentioned, the value centos-64 is the one Vmware will use for Centos 64 bits 
Reply all
Reply to author
Forward
0 new messages