Hello If you have problems understanding the chicken egg that happens here is good to slow down, and take a look at the bigger picture.
1. build your own box thats fit for the task you need 2. share it 3. profit simple as that. If you are able to vagrant up / vagrant ssh the initial box, then the part when the box "become un-usable" is on your side of tasks I would suggest. A. use config.ssh.insert_key = false B. vagrant up from a box you want to share C. ensure you follow OS guidelines to create a template D. package the box and share Depending on the OS, you need to do something to bring the box to a clean state. Thanks Alvaro. On Wed, May 16, 2018 at 1:04 PM, 'ben wyatt' via Vagrant < [email protected]> wrote: > Seriously - I have been trying for 4 days non-stop. > > What I would like to do: > > 1. Download minimal/centos7 > 2. Update yum, install python-pip & ansible, update vboxguestadditions > 3. Package > 4. Upload to share site > 5. User downloads and does NOTHING apart from 'vagrant up' and 'vagrant > ssh', no ssh-keygen shenanigans or downloading the public insecure key > > Obviously as I am sure you can imagine, there are all sorts of ssh issues > rendering it impossible to share the box. A shared box should be like a > clean install for anyone downloading it - just like when one downloads > minimal/centos7 - no messing about with keys or whatever - just vagrant up > && vagrant ssh and you are in. > > config.ssh.insert_key = false - obviously doesn't work > > Vagrant is a great idea - why have they completely fecked it with this > idiotic ssh nonsense!!! > > Any help would be hugely appreciated!!!! > > Many thanks in advance, > > Ben > > -- > 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/vagrant-up/eced5bae-1d6e-4ac2-8628-f18f0665cf90%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/eced5bae-1d6e-4ac2-8628-f18f0665cf90%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezFJVVTrZ4NgT%2BpsZnZrn-p%3D1Ou3BXiRRB3O1k47B%3DYbA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
