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 Builder: Clone a VM from a template in a Content Library #10318

Closed
graham1228 opened this issue Nov 30, 2020 · 7 comments
Closed

Comments

@graham1228
Copy link

Please search the existing issues for relevant feature requests, and use the
reaction feature
(https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
to add upvotes to pre-existing requests.

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

As a user of the vsphere-clone builder I would like the ability to create a vm from an existing vm template in a content library.

Use Case(s)

We use the content library to store our base OS OVF images and need to be able to utilize these templates to layer on solution specific software leveraging the vsphere-clone builder.

Potential configuration

Utilizing the same configuration item, additionally search in all content libraries for the template name

template (string) - Name of source VM. Path is optional.

Potential References

@SwampDragons
Copy link
Contributor

Hi, thanks for reaching out!

I believe you can already do this using the iso_paths config option:

https://www.packer.io/docs/builders/vmware/vsphere-clone#iso_paths

@graham1228
Copy link
Author

@SwampDragons That appears to be specific to .iso and not a template or OVF. Do you have any examples on how to utilize isopaths to specify a template/OVF to clone? I would be willing to give it a try and report back.

@ghost ghost removed the stage/waiting-reply label Nov 30, 2020
@graham1228
Copy link
Author

@SwampDragons I just tested it out and the iso_paths option does not provide the requested feature functionality to clone from an OVF template in a content library.

@sylviamoss
Copy link
Contributor

Hey @graham1228, you're right, this a new feature we need to implement for vsphere-clone. We will work on this when we get a chance.
If you wish to do it yourself, I'll be happy to help you with that.

@graham1228
Copy link
Author

@sylviamoss I might be able to to take a swing at it if I have some spare time. Thanks for the update.

@ghost
Copy link

ghost commented Apr 15, 2021

This issue has been automatically migrated to hashicorp/packer-plugin-vsphere#43 because it looks like an issue with that plugin. If you believe this is not an issue with the plugin, please reply to hashicorp/packer-plugin-vsphere#43.

@ghost ghost closed this as completed Apr 15, 2021
@ghost
Copy link

ghost commented May 16, 2021

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 May 16, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants