Open HariSekhon opened 1 year ago
I've found this same issue on a Debian build - the OS installs and boots up so you can see the login prompt on the console, but packer never SSH's in for the shell provisioner to finish the build and then close down to write out the ova.
make debian-tart-http
It appears that the SSH shell provisioner isn't triggering on my Fedora build on Tart which is almost identical to my build on x86_64 VirtualBox.
You can reproduce this like so
The output is:
The Fedora prompt is up but the SSH provisioner never triggers, as verified by logging in and checking that the /etc/packer-version file created by my script never materializes, and the VM never shuts down to complete the build.
Those last 2 lines of the output are what makes me think that the SSH commands are not being run as when I got to tty2 to investigate there was no /etc/packer-version created by script and I can't see a hanging bash command it in the ps output (although it doesn't help that I have | pipe symbol to be able to less through the ps output).