Skip to content

Commit

Permalink
fixup! govc: Add feature to pass fullname and org for windows vm cust…
Browse files Browse the repository at this point in the history
…omization
  • Loading branch information
rubinthomasdev committed Jun 7, 2024
1 parent 48f61b5 commit 26adccd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions govc/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6360,11 +6360,11 @@ Options:
-mac=[] MAC address
-name= Host name
-netmask=[] Netmask
-org= for windows vms, name of the org that owns the VM
-org= Windows only : name of the org that owns the VM
-prefix= Host name generator prefix
-type=Linux Customization type if spec NAME is not specified (Linux|Windows)
-tz= Time zone
-username= for windows vms, full name of the end user in firstname lastname format
-username= Windows only : full name of the end user in firstname lastname format
-vm= Virtual machine [GOVC_VM]
```

Expand Down
4 changes: 2 additions & 2 deletions govc/vm/customize.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ func (cmd *customize) Register(ctx context.Context, f *flag.FlagSet) {
f.Var(&cmd.dnssuffix, "dns-suffix", "DNS suffix list")
cmd.dnssuffix = nil
f.StringVar(&cmd.kind, "type", "Linux", "Customization type if spec NAME is not specified (Linux|Windows)")
f.StringVar(&cmd.username, "username", "", "for windows vms, full name of the end user in firstname lastname format")
f.StringVar(&cmd.org, "org", "", "for windows vms, name of the org that owns the VM")
f.StringVar(&cmd.username, "username", "", "Windows only : full name of the end user in firstname lastname format")
f.StringVar(&cmd.org, "org", "", "Windows only : name of the org that owns the VM")
}

func (cmd *customize) Usage() string {
Expand Down

0 comments on commit 26adccd

Please sign in to comment.