Possible to deploy OVA / ISO and answer installation prompts?

82 views
Skip to first unread message

Ray Bond

unread,
Aug 18, 2015, 6:44:09 PM8/18/15
to Vagrant
Hi. What interested me about Vagrant was accessing the SSH prompt so easily using Vagrant and a box.

My company provides OVA and ISO files of our application and these need to be tested on each build. At the moment, these are deployed using the ovftool and AFAIK there is no way to access these VMs from the commandline until we setup the network.

We need the following to work:

1) Deploy OVA/ISO (done by the ovftool)
2) Set network by responding to prompts (done manually within a vbox or esx console. This could be skipped if we can use vagrant to ssh to the box and answer the prompts with an expect script?)
3) Answer roughly 30 prompts

Is this possible with Vagrant/Expect or Packer?

Thanks,
R

Alvaro Miranda Aguilera

unread,
Aug 18, 2015, 9:09:12 PM8/18/15
to vagra...@googlegroups.com, packe...@googlegroups.com
Hello, looks the tool for you is packer.

However, they require an standard clean ssh.

You can use:

virtualbox-iso builder and start with the iso
virtualnbox-ovf builder and start with the ova

If you want to use vmware

vmware-iso
vmware-vmx


packer allow a boot command, that can be something like

<wait><wait>something<enter>somethingelse<enter> etc

have a look to packer if you have some time

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/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vagrant-up+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/3e379982-a601-44ff-a9cc-f990e43716f7%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages