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

Packer Vsphere postprocessor #6

Open
maurorappa opened this issue May 18, 2016 · 2 comments
Open

Packer Vsphere postprocessor #6

maurorappa opened this issue May 18, 2016 · 2 comments

Comments

@maurorappa
Copy link

Hi,

instead of calling ovftool manually after packer, did you try to use the specific postprocessor, https://www.packer.io/docs/post-processors/vsphere.html ?

Will it work ? :)

@robcoward
Copy link
Contributor

Hi @maurorappa. Initially, I'd have to say that I don't expect that this would work, since a vsphere endpoint is different to a vCloud Director endpoint. However reading through the docs, it would appear to use the ovftool program under the covers. I'd need to go through the source for the post-processor to work out if there is a way of passing the necessary parameters needed for a vCloud connection.

Alternatively, it is hypothetically possible to make use of the Local Shell post-processor (https://www.packer.io/docs/post-processors/shell-local.html) to automate the calling of ovftool. I've not tried that myself yet, but will probably be giving it a go soon.

Rob

@maurorappa
Copy link
Author

Thanks Rob, I could use the ovftool directly as you suggested, but that post-processor is more elegant and portable :)
I'll keep you updated with my findings

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

2 participants