Skip to content

govc vm.change - How to use to change virtual machine Guest OS Family (Other / Windows / Linux) and Guest OS Version. #3335

Answered by asaramago
asaramago asked this question in Q&A
Discussion options

You must be logged in to vote

So, I was able to help myself... :).
After checking, via PowerCLI the several options to define the GuestOS parameters:
PS C:\Users\user> [System.Enum]::GetNames([VMware.Vim.VirtualMachineGuestOsIdentifier])

This lists out all the possibilities accepted on the currently connnected vCenter system.
I've used 'other5xLinux64Guest':
govc vm.change -vm /govc-lab-dc/vm/govc/testvm -g="other5xLinux64Guest"

Kudos to https://serverfault.com/questions/597145/finding-guestid-in-offline-documentation

I hope it helps others!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by asaramago
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant