VMware Cloud Community
rg01
Contributor
Contributor

Invoke-VMscript default ScriptType issue

I have 2 Linux VMs I'm trying to run invoke-vmscript on and vmware tools doesn't seem to be detecting the right OS on one of them. When I view the info of the 2 guests I see a difference but how do I get it to detect it properly or force it to. They are both identical as far as what is manually specified on the VM Options for Gues OS and Guest OS version. I don't want to put the -ScriptType parameter in my script since this is part of an automated script and it could be Windows or Linux.

Works fine without the ScriptType parameter set for this one:

GuestId                         : centos64Guest

GuestFamily                     : linuxGuest

GuestFullName                   : CentOS 4/5 or later (64-bit)

Requires the ScriptType parameter for this one:

GuestId                         :

GuestFamily                     : otherGuestFamily

GuestFullName                   : Linux 2.6.32-696.10.1.el6.x86_64 CentOS

                                  release 6.9 (Final)

Tags (1)
Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

Are you by any chance using the open-vm-tools on the CentOS 6.9 box?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos