Hi.
I'm facing the following issue when I try to use packer to build an VM image.
Looks like packer can't connect in my VM and make the login, so it stay stuck forever.
The file that I'm using is an OVA file from an existing VM.
During the process, virtualbox get the VM up and running but when comes to login page it stuck forever:
JSON file:
{
"builders": [
{
"type": "virtualbox-ovf",
"source_path": "C:\Users\Administrator\Desktop\Packer\cloudconnect-2.0.ova",
"ssh_username": "user",
"ssh_password": "password",
"communicator": "ssh",
"ssh_pty": true,
"ssh_port": 22,
"shutdown_command": "echo 'packer' | sudo -S shutdown -P now"
}
]
}
Attaching the log in the image.
As you can see, the VM is avaiable and waiting for the login, but even I got ssh timeoutYour privacy is important to us. That is why we have taken appropriate measures to ensure the data you provide to us is kept secure. To learn more about how we process your personal information, how we comply with applicable data protection laws, and care for the security and privacy of your personal data, please review our Privacy Policy. If you have any questions related to data protection and compliance with applicable laws, please contact us at our Security Operations Center at 1-302-444-9838 or mail us at:
Attention: Privacy Compliance Program, P.O. Box 59263, Schaumburg, IL USA, 60159-0263
--
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/1f45ce6e-93d1-4690-84af-1c2f5e03c4e5%40googlegroups.com.
Does that image start ssh on boot? Is network working? Can you manually ssh with the given credentials to the VM?Could you rerun with PACKER_LOG=1 set and provide the full output here.What's the VM? Is it something public?
To unsubscribe from this group and stop receiving emails from it, send an email to packe...@googlegroups.com.
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/a52e6a99-9b9e-430e-b3f3-f57ca12bd259%40googlegroups.com.