-
Notifications
You must be signed in to change notification settings - Fork 106
Description
This issue was originally opened by @vheon as hashicorp/packer#10004. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
From the documentation doesn't seems to be possible to have a packer build with the vsphere-iso builder specifying a Storage DRS, only a specific Datastore is allowed. I've tried to set the Storage DRS name as the datastore property but it fails with:
==> vsphere-iso.packer-build-name: error creating vm: datastore 'Storage-DRS-name' not found
Use Case(s)
Usually using the Storage DRS allows to keep the same configuration even if new datastores are added for more storage.
Potential configuration
I'm not sure if new configuration would be required. Packer could first search for Storage DRS and look for a match of the datastore property and if found use it otherwise look for a match of single datastores.