For a more manual one you could:

use shell-local to create a VM from template
use null provider to just connect and run scripts in packer.

This will create a chicken egg situation where you don't know the IP of the
box.

IF you use a wrapper

you could se Terraform or some script to create a vm
packer null provider to run scripts.

here, since packer is just running scripts, you could just use directly the
tool used in the previous step to run scripts too

Hope this helps

On Thu, Oct 27, 2016 at 11:00 PM, 'Peter Teichner' via Packer <
[email protected]> wrote:

> Hi All,
>
> Is it possible at all to start from an ovf template and generate a new one
> after running some scripts inside it?
>
> Obviously I've seen the iso and the vmx options as starting point but I
> use vsphere.
>
> Thanks,
> Pete
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/51a781cf-0955-4041-bdc9-fad2c9ff1b50%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAHqq0eyTEr-vcg%3DvYgSL30bxuuS-ymbj1tApCi3W5_b86OLFJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to