List of valid "guest_os_type" values for vSphere builder?

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 to populate correctly in vSphere, I would really, really appreciate it.

I am having this exact same issue. Any leads?

Nope. Cannot find a solution for Windows 2016. 2012R2 accepts the value “windows8srv-64” and works fine. I downloaded the vmx file from a good, working 2016 machine and… it says the same thing under “guestOS.” I don’t know how that’s even possible.

Maybe this could help (vsphere 6.x):

> [VMware.Vim.VirtualMachineGuestOsIdentifier].GetEnumValues()                                                                                                                                                          
dosGuest                                                                                                                                                                                                                              
win31Guest                                                                                                                                                                                                                            
win95Guest                                                                                                                                                                                                                            
win98Guest                                                                                                                                                                                                                            
winMeGuest                                                                                                                                                                                                                            
winNTGuest                                                                                                                                                                                                                            
win2000ProGuest                                                                                                                                                                                                                       
win2000ServGuest                                                                                                                                                                                                                      
win2000AdvServGuest                                                                                                                                                                                                                   
winXPHomeGuest                                                                                                                                                                                                                        
winXPProGuest                                                                                                                                                                                                                         
winXPPro64Guest                                                                                                                                                                                                                       
winNetWebGuest                                                                                                                                                                                                                        
winNetStandardGuest                                                                                                                                                                                                                   
winNetEnterpriseGuest                                                                                                                                                                                                                 
winNetDatacenterGuest                                                                                                                                                                                                                 
winNetBusinessGuest                                                                                                                                                                                                                   
winNetStandard64Guest                                                                                                                                                                                                                 
winNetEnterprise64Guest                                                                                                                                                                                                               
winLonghornGuest                                                                                                                                                                                                                      
winLonghorn64Guest                                                                                                                                                                                                                    
winNetDatacenter64Guest                                                                                                                                                                                                               
winVistaGuest                                                                                                                                                                                                                         
winVista64Guest                                                                                                                                                                                                                       
windows7Guest                                                                                                                                                                                                                         
windows7_64Guest                                                                                                                                                                                                                      
windows7Server64Guest                                                                                                                                                                                                                 
windows8Guest                                                                                                                                                                                                                         
windows8_64Guest                                                                                                                                                                                                                      
windows8Server64Guest                                                                                                                                                                                                                 
windows9Guest                                                                                                                                                                                                                         
windows9_64Guest                                                                                                                                                                                                                      
windows9Server64Guest                                                                                                                                                                                                                 
windowsHyperVGuest

Edit: maybe this will help: https://github.com/taliesins/packer-baseboxes/blob/master/vmware-windows-2016-serverstandard-amd64.json

1 Like

Greetings! I downloaded packer 1.5.1. The following line worked for my Windows Server 2k16 deployment today and I finally got past a storage driver issue!

“guest_os_type”: “windows9srv-64”,

Make sure you have the latest version and give that a whirl!

1 Like

This still shows up as “Other (32-bit)” when pushed out to vSphere.

Looking at the vmx for the machine packer uploaded to vsphere I see "guestOS = “other” despite specifying what you mentioned above.

It was a hardware version issue. The default doesn’t work with 2016.

Did you figure out a work around?

Set the version string explicitly instead of using the Packer default. The default value is “9” which is a hardware version not compatible with 2016, you need to use 10+. I couldn’t manually change it in the vSphere UI either, which is how I figured it out.

can u share the same for centos/redhat/ type images as well that would be really helpful.

can u share the same for centos/redhat/ type images as well that would be really helpful.

Sure. I’ll post the complete list later this day.

sounds like a plan.

thanks a lot.

That’s the whole list:

[VMware.Vim.VirtualMachineGuestOsIdentifier].GetEnumValues()
dosGuest
win31Guest
win95Guest
win98Guest
winMeGuest
winNTGuest
win2000ProGuest
win2000ServGuest
win2000AdvServGuest
winXPHomeGuest
winXPProGuest
winXPPro64Guest
winNetWebGuest
winNetStandardGuest
winNetEnterpriseGuest
winNetDatacenterGuest
winNetBusinessGuest
winNetStandard64Guest
winNetEnterprise64Guest
winLonghornGuest
winLonghorn64Guest
winNetDatacenter64Guest
winVistaGuest
winVista64Guest
windows7Guest
windows7_64Guest
windows7Server64Guest
windows8Guest
windows8_64Guest
windows8Server64Guest
windows9Guest
windows9_64Guest
windows9Server64Guest
windowsHyperVGuest
freebsdGuest
freebsd64Guest
freebsd11Guest
freebsd11_64Guest
freebsd12Guest
freebsd12_64Guest
redhatGuest
rhel2Guest
rhel3Guest
rhel3_64Guest
rhel4Guest
rhel4_64Guest
rhel5Guest
rhel5_64Guest
rhel6Guest
rhel6_64Guest
rhel7Guest
rhel7_64Guest
rhel8_64Guest
centosGuest
centos64Guest
centos6Guest
centos6_64Guest
centos7Guest
centos7_64Guest
centos8_64Guest
oracleLinuxGuest
oracleLinux64Guest
oracleLinux6Guest
oracleLinux6_64Guest
oracleLinux7Guest
oracleLinux7_64Guest
oracleLinux8_64Guest
suseGuest
suse64Guest
slesGuest
sles64Guest
sles10Guest
sles10_64Guest
sles11Guest
sles11_64Guest
sles12Guest
sles12_64Guest
sles15_64Guest
nld9Guest
oesGuest
sjdsGuest
mandrakeGuest
mandrivaGuest
mandriva64Guest
turboLinuxGuest
turboLinux64Guest
ubuntuGuest
ubuntu64Guest
debian4Guest
debian4_64Guest
debian5Guest
debian5_64Guest
debian6Guest
debian6_64Guest
debian7Guest
debian7_64Guest
debian8Guest
debian8_64Guest
debian9Guest
debian9_64Guest
debian10Guest
debian10_64Guest
asianux3Guest
asianux3_64Guest
asianux4Guest
asianux4_64Guest
asianux5_64Guest
asianux7_64Guest
asianux8_64Guest
opensuseGuest
opensuse64Guest
fedoraGuest
fedora64Guest
coreos64Guest
vmwarePhoton64Guest
other24xLinuxGuest
other26xLinuxGuest
otherLinuxGuest
other3xLinuxGuest
other4xLinuxGuest
genericLinuxGuest
other24xLinux64Guest
other26xLinux64Guest
other3xLinux64Guest
other4xLinux64Guest
otherLinux64Guest
solaris6Guest
solaris7Guest
solaris8Guest
solaris9Guest
solaris10Guest
solaris10_64Guest
solaris11_64Guest
os2Guest
eComStationGuest
eComStation2Guest
netware4Guest
netware5Guest
netware6Guest
openServer5Guest
openServer6Guest
unixWare7Guest
darwinGuest
darwin64Guest
darwin10Guest
darwin10_64Guest
darwin11Guest
darwin11_64Guest
darwin12_64Guest
darwin13_64Guest
darwin14_64Guest
darwin15_64Guest
darwin16_64Guest
darwin17_64Guest
darwin18_64Guest
vmkernelGuest
vmkernel5Guest
vmkernel6Guest
vmkernel65Guest
amazonlinux2_64Guest
otherGuest
otherGuest64
1 Like

thanks a lot
appreciated.

1 Like