Skip to content

vm.create & -g #3746

Answered by dougm
LeTink asked this question in Q&A
Mar 27, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

govc vm.create -h and the generated doc https://github.com/vmware/govmomi/blob/main/govc/USAGE.md#vmcreate mention a couple of options:

% govc vm.create -h
Usage: govc vm.create [OPTIONS] NAME

Create VM.

For a list of possible '-g' IDs, use 'govc vm.option.info' or see:
https://code.vmware.com/apis/358/vsphere/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html

Examples:
...

Though it looks like we need to fix the link: https://developer.broadcom.com/xapis/vsphere-web-services-api/latest/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LeTink
Comment options

Answer selected by LeTink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants