I think I figured out my issue. BTW, this is for Ubuntu 16.04.5. I'm doing a virtualbox-iso.
By default, NAT is used for during the provisioning process. I had to change my configuration to reflect a local host instead of the configured static IP. Even the IP obtained when doing ifconfig didn't work. Ultimately, it's the fact that I'm using root to connect to the new instance. By default, root cannot log into remotely. (PermitRootLogin is set to prohibit-password). I need to figure out a way to enable root during the preseed or something. The goal is to get a vanilla VM that has a static IP and is accessible remotely by root over SSH. This is what my current VPS provider gives me and there's no way to change the final output for the plan that I have. I have existing Ansible scripts to automate the completion. On Tuesday, 22 January 2019 20:12:07 UTC-4, Megan Marsh wrote: > > Depending on the guest OS, you could also use WinRM or another > communicator, but the vast majority of Packer provisioners require that you > use a true communicator rather than "none" > -- 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/4de1c628-6333-429e-8a51-587d1dfc4c22%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
