Skip to content
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

Host only migration #404

Open
rb1980 opened this issue Oct 12, 2017 · 1 comment
Open

Host only migration #404

rb1980 opened this issue Oct 12, 2017 · 1 comment

Comments

@rb1980
Copy link

rb1980 commented Oct 12, 2017

In VMware it is possible to do a "host only" migration, and leave the VM on its current (shared) datastore.
The docs here say for vm migrate "Resource pool and datastore are mandatory."
but... I can't find any way (with knife-vsphere) to query which datastore the vm lives on in the first place.
Seems like datastore should be an optional parameter if --dest-host is supplied, indicating a host-only migration.

@swalberg
Copy link
Collaborator

Hi, the docs say the datastore is optional - The datastore where the virtual machine should be located. If not specified, the current datastore is used., so yea, it could be optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants