vagrant package: won't fork/clone/duplicate/generate a similar vagrant-up-able box/image

10 बार देखा गया
नहीं पढ़े गए पहले मैसेज पर जाएं

Ribamar Santarosa

नहीं पढ़ी गई,
15 जन॰ 2018, 12:00:41 pm15/1/18
ईमेल पाने वाला Vagrant

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
# ...

Alvaro Miranda Aguilera

नहीं पढ़ी गई,
16 जन॰ 2018, 2:58:47 am16/1/18
ईमेल पाने वाला vagra...@googlegroups.com
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.


--
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+unsubscribe@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.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

सभी प्रषकों को उत्तर दें
लेखक को उत्तर दें
आगे भेजें
0 नया मैसेज