If you have an automated way to install the software you want to add, you could take a look at Packer as it will automatically package from a VirtualBox to a vagrant box, although if you are building from a vagrant to a vagrant, the way you are doing it is probably the easiest.
If the software you are installing can be automated, is there any reason you aren't simply adding a vagrant provision step in your vagrantfile and providing that to the intended users of the resulting box? On Wed, Mar 25, 2015, 8:01 AM Marcus Brunsten <[email protected]> wrote: > I added config.ssh.insert_key before the intial vagrant up. > I might just try to redo all this on a windows machine with a older > version of Vagrant, > This is giving me a headache, though it would be nice if it would just > work. > > I tried moving my package.box to a windows machine running a older version > of Vagrant, and there i could do a Vagrant up without problem. But, i > cannot use it on my ubuntu machine. > > > Den onsdag 25 mars 2015 kl. 13:52:21 UTC+1 skrev dragon788: > >> Marcus did you add the config.ssh.insert_key = false entry before you did >> your initial vagrant up or only before packaging? The issue is on version >> 1.7 and higher it automatically inserts the new key the very first time you >> bring it up, so even setting it to false later will not help, you already >> have a new key. If you run vagrant ssh-config you can find where the >> current authorized_hosts and new generated private key are. >> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "Vagrant" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/vagrant-up/GA9Xb_-wyfE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
