the-noob if I needed to constantly modify the virtual machine image and send it to others then I'd probably start using something like vagrant. Since that's not a normal use case from my experience, making one and distributing it once is sufficient. It sounds like you guys are making lots of mods to the image profile so I can see where you'd need vagrant. In all the places I've worked, I've never heard of anyone else doing that.
Ah I just ran vagrant init and checked out Vagrantfile, now I remember one reason why it turned me off. The Vagrant file isn't just a plain stanza file, it's Ruby. Barf.
Let's try vagrant up for giggles, I did nothing wrong, it's already barking at me:
"[default] The guest additions on this VM do not match the install version of
VirtualBox!"
"SSH authentication failed! This is typically caused by the public/private
keypair for the SSH user not being properly set on the guest VM."
Huh? I just brought the dang thing up and already the guest additions are outdated and ssh is failing. I didn't even try to ssh in yet?
Is it running? Run a ps. Nope. How about "ps -ef". I see a vboxheadless running so yep I guess it's running. Except for the ssh error maybe I'll try to log in. How? Maybe run vagrant and it will tell me. Ah vagrant status, I'll remember that for next time.
There's a vagrant ssh command! Cool, but it asks for me to enter a password? For the vagrant user? Hmm, no idea what the password is, I'm blocked.
See what I mean?
Ok let's stop it, redo the config, that config file was from a couple months ago when I was playing with vagrant.
vagrant halt
"<the ssh error again>"
I can't stop it!!?!? Guess I'll have to kill -HUP it. Whew that worked!
Now rm the Vagrant file and try again, oops, there's a hidden .vagrant directory that will cause issues so rm it too.
Still complaining. Ok let's do the steps here:
http://docs-v1.vagrantup.com/v1/docs/base_boxes.htmlHold it, those instructions might be old, go to the base web site and get started again from there:
http://docs.vagrantup.com/v2/getting-started/index.html<elevator music while one of those image files gets downloaded, 30%, 40%, 50%, etc....>
<thinking, who made this image? I didn't, can I trust it? IDK, the people who like vagrant said I should do this so it might be OK>
OK it's done and then it starts it up...
Dang it! I got the same ssh error and the same guest additions error. Oh well, the instructions say to run vagrant ssh. It asks me for the vagrant user password again which I don't have.
OK, time to play some Minecraft.