Can you share your packer template? On Jan 20, 2018 06:01, "HSB" <[email protected]> wrote:
> Hi, Created new VM Box using Vagrant. I can SSH and also connect to > internet from that host. > > But when I execute packer build (type: lxd) with shell commands for ubuntu > updates, I get following error. I can CURL all of the following urls from > command line successfully. I have name-servers setup properly. > > But, I am not sure why packer is complaining about it? Thoughts? > > xenial-container: Firewall stopped and disabled on system startup > xenial-container: sudo: unable to resolve host > packer-xenial-container: Connection refused > xenial-container: Err:1 http://security.ubuntu.com/ubuntu > xenial-security InRelease > xenial-container: Temporary failure resolving 'security.ubuntu.com' > xenial-container: Err:2 http://archive.ubuntu.com/ubuntu xenial > InRelease > xenial-container: Temporary failure resolving 'archive.ubuntu.com' > xenial-container: Err:3 http://archive.ubuntu.com/ubuntu > xenial-updates InRelease > xenial-container: Temporary failure resolving 'archive.ubuntu.com' > xenial-container: Err:4 http://archive.ubuntu.com/ubuntu > xenial-backports InRelease > xenial-container: Temporary failure resolving 'archive.ubuntu.com' > > xenial-container: W: Failed to fetch http://archive.ubuntu.com/ > ubuntu/dists/xenial-updates/InRelease Temporary failure resolving ' > archive.ubuntu.com' > xenial-container: W: Failed to fetch http://archive.ubuntu.com/ > ubuntu/dists/xenial-backports/InRelease Temporary failure resolving ' > archive.ubuntu.com' > xenial-container: W: Failed to fetch http://security.ubuntu.com/ > ubuntu/dists/xenial-security/InRelease Temporary failure resolving > 'security.ubuntu. > > -- > 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/4b63ceae-f93a-4fe8-a3d1-e3869e11f4d2%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/4b63ceae-f93a-4fe8-a3d1-e3869e11f4d2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CALz9Rt-%3D4SyYifFickbhGeWfbhGmnQyBWyN_vTa85PCBwhN_BQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
