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-clone Multiple Disk Support #9990

Closed
divy4 opened this issue Sep 24, 2020 · 6 comments · Fixed by #10287
Closed

vsphere-clone Multiple Disk Support #9990

divy4 opened this issue Sep 24, 2020 · 6 comments · Fixed by #10287

Comments

@divy4
Copy link

divy4 commented Sep 24, 2020

Description

In #8749, the ability to add multiple disks was added to the vsphere-iso builder. Can this ability be added to the vsphere-clone builder as well?

Use Case(s)

I have a large number of templates I would like to build with Packer that all use the same OS, but varying number of drives. In order to save time and compute resources, I use the vsphere-iso builder to create a template that only installs the OS and then make several templates using the vsphere-clone template that make any tweaks needed for each use case. But because vsphere-clone doesn't support configuring multiple drives, I have to make a vsphere-iso template for every number of drives that are added to the template. If the ability of adding additional disks was added to vsphere-clone, then only 1 vsphere-iso template would be needed and each vsphere-clone template would add any additional disks that are needed.

Potential configuration

The same as vsphere-iso builder, specifically the disk_controller_type and storage attributes.

@sylviamoss
Copy link
Member

Hey there, thanks for reaching out. I think this is possible and we will try to address it for the next release.

@divy4
Copy link
Author

divy4 commented Nov 4, 2020

Just checking in, any updates on this or anything I can help out with?

@SwampDragons
Copy link
Contributor

We're working on mostly internal and tech-debt related stuff right now, so the best way to see this merged soon is to open a PR.

@SwampDragons
Copy link
Contributor

This has been closed in the linked PR -- you can find binaries here https://app.circleci.com/pipelines/github/hashicorp/packer/8035/workflows/d73dea87-f771-4977-b421-e451373d5be4/jobs/93314/artifacts or you can wait for Tuesday's "nightly" dev release.

@divy4
Copy link
Author

divy4 commented Nov 20, 2020

Ah, thank you so much! I just got access to my vSphere environment yesterday, so I'll see how it goes!

@ghost
Copy link

ghost commented Dec 21, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants