Hello Have a look here: https://github.com/cbednarski/packer-ubuntu
And give it a go, I use it all the time without problems. Once you have a full working starting point, start doing changes. Alvaro On Thu, May 4, 2017 at 2:29 AM, Farye Nwede <[email protected]> wrote: > I'm not sure if this is the best place for this. I'm encountering this > error. My host system is Ubuntu 14.04. The system that I'm trying to build > is Ubuntu 16.04. Any ideas on what may be the cause: > > 2017/05/03 17:22:20 packer: 2017/05/03 17:22:20 [DEBUG] SSH handshake err: > ssh: handshake failed: read tcp 127.0.0.1:53257->127.0.0.1:2818: read: > connection reset by peer > > 2017/05/03 17:22:27 packer: 2017/05/03 17:22:27 [INFO] Attempting SSH > connection... > > 2017/05/03 17:22:27 packer: 2017/05/03 17:22:27 reconnecting to TCP > connection for SSH > > 2017/05/03 17:22:27 packer: 2017/05/03 17:22:27 handshaking with SSH > > 2017/05/03 17:22:27 packer: 2017/05/03 17:22:27 handshake error: ssh: > handshake failed: read tcp 127.0.0.1:53259->127.0.0.1:2818: read: > connection reset by peer > > 2017/05/03 17:22:27 packer: 2017/05/03 17:22:27 [DEBUG] SSH handshake err: > ssh: handshake failed: read tcp 127.0.0.1:53259->127.0.0.1:2818: read: > connection reset by peer > > 2017/05/03 17:22:34 packer: 2017/05/03 17:22:34 [INFO] Attempting SSH > connection... > > 2017/05/03 17:22:34 packer: 2017/05/03 17:22:34 reconnecting to TCP > connection for SSH > > 2017/05/03 17:22:34 packer: 2017/05/03 17:22:34 handshaking with SSH > > 2017/05/03 17:22:34 packer: 2017/05/03 17:22:34 handshake error: ssh: > handshake failed: read tcp 127.0.0.1:53261->127.0.0.1:2818: read: > connection reset by peer > > 2017/05/03 17:22:34 packer: 2017/05/03 17:22:34 [DEBUG] SSH handshake err: > ssh: handshake failed: read tcp 127.0.0.1:53261->127.0.0.1:2818: read: > connection reset by peer > > > Regards, > > > Farye > > -- > 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/9b57d7c3-4e7c-446a-a8a0-91a268d5fb64%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/9b57d7c3-4e7c-446a-a8a0-91a268d5fb64%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/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/CAHqq0eyY8-ca4o%2Bje1fBn2ON0FEuDgK93Ry_igJsYtuU_gXLgg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
