Is the above possible? What would be the best method of completing the above?
Also, unsure of why the SSH access is mandatory since the IP isn't set on the machine
Thank you,
R
Just to be sure, I'd have to append my current KS file to reboot, pass that file to packer with a long enough boot_delay to ensure that the iso installs and it gets to the login prompt, and then I can pass the boot_command commands to the vm to set up the vm.
If packer is still successful at this point, it will shutdown my vm and create an image that vagrant can easily launch. Now I can run tests on this ova once the vm boots up using vagrant.
It's too bad there isn't an option in packer to prevent the shutdown. If I could use such an option, I wouldn't even need vagrant cause I can start running tests immediately after I finish sending the boot commands.
Another method I'm exploring is using the ovftool to deploy powered off, echo vnc creds to vmk, vmrun or vim-cmd to boot the vm, then vncdo to send the vm commands. It works but man it's a preventable roundabout method.. :/
--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/55a82845-6939-411f-9a4f-57b79b68ca58%40googlegroups.com.