New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] govc: Unable to clone a vm when using the -host.dns
flag
#2849
Comments
Howdy 🖐 makelarisjr ! Thank you for your interest in this project. We value your feedback and will respond soon. If you want to contribute to this project, please make yourself familiar with the |
makelarisjr
added a commit
to makelarisjr/govmomi
that referenced
this issue
May 17, 2022
11 tasks
makelarisjr
added a commit
to makelarisjr/govmomi
that referenced
this issue
May 18, 2022
dougm
added a commit
to dougm/govmomi
that referenced
this issue
Jun 1, 2022
PR vmware#2850 fix a search flag issue with the vm.clone command, but caused an issue with the vm.migrate command. Rather than embed the SearchFlag directly, vm.migrate needs to embed the VirtualMachineFlag Issue vmware#2849
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When cloning a VM if you specify the
-host.dns
flag it throws the errorexpected VirtualMachine entity, got HostSystem
To Reproduce
Steps to reproduce the behavior:
Clone a VM and specify the
-host.dns
flagExample:
./govc vm.clone -vm "TestDHCP" -host.dns "esxi-eu-dev-01.example.com" testvm
Expected behavior
Continue with the cloning of the VM
Affected version
govc v0.28.0
The text was updated successfully, but these errors were encountered: