Skip to content

Commit 4158127

Browse files
committed
govc: Fix vm.clone full path example root from ClusterName to DatacenterName
Signed-off-by: Shouhei <shouhei.yamaguchi.be@gmail.com>
1 parent 2ee963a commit 4158127

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cli/vm/clone.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Examples:
116116
govc vm.clone -vm template-vm -datastore-cluster dscluster new-vm # use datastore cluster placement
117117
govc vm.clone -vm template-vm -snapshot $(govc snapshot.tree -vm template-vm -C) new-vm
118118
govc vm.clone -vm template-vm -template new-template # clone a VM template
119-
govc vm.clone -vm=/ClusterName/vm/FolderName/VM_templateName -on=true -host=myesxi01 -ds=datastore01 myVM_name`
119+
govc vm.clone -vm=/DatacenterName/vm/FolderName/VM_templateName -on=true -host=myesxi01 -ds=datastore01 myVM_name`
120120
}
121121

122122
func (cmd *clone) Process(ctx context.Context) error {

govc/USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6869,7 +6869,7 @@ Examples:
68696869
govc vm.clone -vm template-vm -datastore-cluster dscluster new-vm # use datastore cluster placement
68706870
govc vm.clone -vm template-vm -snapshot $(govc snapshot.tree -vm template-vm -C) new-vm
68716871
govc vm.clone -vm template-vm -template new-template # clone a VM template
6872-
govc vm.clone -vm=/ClusterName/vm/FolderName/VM_templateName -on=true -host=myesxi01 -ds=datastore01 myVM_name
6872+
govc vm.clone -vm=/DatacenterName/vm/FolderName/VM_templateName -on=true -host=myesxi01 -ds=datastore01 myVM_name
68736873
68746874
Options:
68756875
-annotation= VM description

0 commit comments

Comments
 (0)