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

[FEATURE REQUEST] Add support for specifying Datastore and OvfConfiguration to saltext.vmware.modules.vm.deploy_ovf and saltext.vmware.modules.vm.deploy_ova #268

Open
ggiesen opened this issue May 17, 2022 · 0 comments

Comments

@ggiesen
Copy link
Contributor

ggiesen commented May 17, 2022

Currently, vmware_vm.deploy_ova and vmware_vm.deploy_ovf deploy to the first datastore attached to the specified host:

import_spec = manager.CreateImportSpec(
ovf, resources["resource_pool"], resources["destination_host"].datastore[0], spec_params
)

Also, the modules don't have the ability to specify OvfConfiguration to be able to configure the template parameters.

While not being able to specify the datastore can be worked around with another module to migrate the VM to a new datastore, it's an extra step that shouldn't be necessary. Not being able to specify the OVF configuration parameters, however, essentially makes the modules useless. It would be helpful if they supported specifying both the datastore to deploy the OVA/OVF to as well as the configuration parameters for the template.

Bonus points for an additional option to power the VM on after import.

@ggiesen ggiesen changed the title Add support for specifying datastore to saltext.vmware.modules.vm.deploy_ovf and saltext.vmware.modules.vm.deploy_ova [FEATURE REQUEST] Add support for specifying datastore to saltext.vmware.modules.vm.deploy_ovf and saltext.vmware.modules.vm.deploy_ova May 17, 2022
@ggiesen ggiesen changed the title [FEATURE REQUEST] Add support for specifying datastore to saltext.vmware.modules.vm.deploy_ovf and saltext.vmware.modules.vm.deploy_ova [FEATURE REQUEST] Add support for specifying Datastore and OvfConfiguration to saltext.vmware.modules.vm.deploy_ovf and saltext.vmware.modules.vm.deploy_ova May 18, 2022
@ggiesen ggiesen changed the title [FEATURE REQUEST] Add support for specifying Datastore and OvfConfiguration to saltext.vmware.modules.vm.deploy_ovf and saltext.vmware.modules.vm.deploy_ova [FEATURE REQUEST] Add support for specifying Datastore and OvfConfiguration to saltext.vmware.modules.vm.deploy_ovf and saltext.vmware.modules.vm.deploy_ova May 18, 2022
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

1 participant