List of valid "guest_os_type" values for vSphere builder?

122 views
Skip to first unread message

Emory Christenson

unread,
Dec 18, 2019, 12:43:00 PM12/18/19
to Packer

Hi, 

No matter what I put for this value, our templates show up in vSphere as “Other (32-bit).”
I’ve even taking to trying to edit the VMX directly during our builds. Nothing works.


For Windows 2016 I’ve tried:
windows9srv-64
windows
Windows2016_64
etc, etc


If anyone has any advice on how I can get the "Guest OS" field to populate correctly in vSphere, I would really, really appreciate it.


Thanks

James Muldrow

unread,
Dec 18, 2019, 1:08:26 PM12/18/19
to Packer
"windows9-64" worked for me for Server 2016.

I have a working setup with instructions for Server 2016 on my github @ https://github.com/jamesmuldrow/Server-2016_Template_for_Packer

Im still building on it but its a decent start.

Emory Christenson

unread,
Dec 18, 2019, 1:40:39 PM12/18/19
to Packer
I managed to find a way to get the list from vCenter itself. That's not on there, I'll try it if the identifiers it listed don't get me anywhere. Thanks.

Rickard von Essen

unread,
Dec 18, 2019, 1:53:51 PM12/18/19
to packe...@googlegroups.com
I think the simplest way to find out is to manually create a VM with the settings you want and then open the VMX file and check the content. 

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/af43ec77-e50f-45e8-97d6-df341858a5d7%40googlegroups.com.

Emory Christenson

unread,
Dec 18, 2019, 2:47:43 PM12/18/19
to Packer
I did that, didn't get me where I wanted to go somehow.
To unsubscribe from this group and stop receiving emails from it, send an email to packe...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages