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

vsphere-iso: Add support to set a VM storage policy while configuring hard disks #18

Open
ghost opened this issue Apr 15, 2021 · 1 comment
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Apr 15, 2021

This issue was originally opened by @amitbhadra as hashicorp/packer#9525. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


Feature Description

From the UI, we can select the VM Storage Policy when setting up the details of a Hard disk. This should be possible on Packer too.
Possibly something like -

"storage": [
        {
          "disk_size": 34816,
          "disk_controller_index": 0,
          "storage_policy": "<storage-policy-dev>"
        },
        {
          "disk_size": 51200,
          "disk_controller_index": 0,
          "storage_policy": "<storage-policy-prod>"
        }
],

Why do I have "disk_controller_index"? Because this is another use case already covered in hashicorp/packer#9518. I hope the new PR already has the changes from the previous issue I mentioned.

Use Case(s)

Based on whether the VM is dev or prod, the storage policy is changed.

@ghost ghost added builder/vsphere-iso Builder: vsphere-iso enhancement labels Apr 15, 2021
hmalphettes pushed a commit to hmalphettes/packer-plugin-vsphere that referenced this issue May 7, 2022
@tenthirtyam tenthirtyam changed the title Ability to set the "VM Storage Policy" while configuring hard disks using vSphere iso on Packer vsphere-iso: Add support to set a VM storage policy while configuring hard disks Nov 5, 2022
@webcompas
Copy link

This issue has been open for more than two years without any update if/when this feature will be added. So adding some information about that would be really appreciated.

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

No branches or pull requests

2 participants