is not a bug. you need to make sure the box is ready to be used and include all thats required.
1. use config.box.insert_key = false so the keys doesn't get overriden 2. use a tool that is made to build boxes like packer.io Alvaro. On Mon, Jan 15, 2018 at 6:00 PM, Ribamar Santarosa <riba...@gmail.com> wrote: > > I am having a problem with vagrant package (full description > https://github.com/hashicorp/vagrant/issues/9362). It looks like a bug > with vagrant ssh keys, does anybody have any insights? > > vagrant package --output mynew.box > > > # .... > > vagrant add mynewbox > > # ... > > vagrant up --provider=libvirt # full output at: > https://gist.github.com/ribamar-santarosa/7b98edacaada8fc1892140a2aabca0e1 > # ... > # DEBUG wait_till_up: Searching for IP for MAC address: 52:54:00:19:76:79 > # .... > # ==> default: Waiting for domain to get an IP address... > # ... > # INFO wait_till_up: Got IP address 192.168.121.65 > # ... > # INFO wait_till_up: Time for getting IP: 15.072947263717651 > # ... > # INFO ssh: SSH not up: #<Vagrant::Errors::SSHConnectionReset: SSH > connection was reset! This usually happens when the machine is > # ... > # DEBUG ssh: == Net-SSH connection debug-level log END == > # INFO ssh: SSH not up: #<Vagrant::Errors::SSHConnectionReset: SSH > connection was reset! This usually happens when the machine is > # ... > # taking too long to reboot. First, try reloading your machine with > # ... > > -- > 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/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to vagrant-up+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/vagrant-up/81a49bec-bfac-4bfb-8636-799b72ede3d2%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/81a49bec-bfac-4bfb-8636-799b72ede3d2%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/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewaWVOiFGx3ihAkZ2NA76R7h5ekxiBFroH1YB0YFiVgTw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.