Creating a Vagrant Base Box

linux tech

I’m assuming you’re familiar with Vagrant – it makes provisioning a VM simple. Read more:

Now there are a number of available base boxes for building VMs – which can be found here:

I’ve just been baking my own base box – building a minimal Centos 6 VM on VirtualBox…

Defaults: vagrant !requiretty
  $ ls -la ~vagrant/.ssh/
total 12
drwx------. 2 vagrant vagrant 4096 Feb 15 13:48 .
drwx------. 3 vagrant vagrant 4096 Feb 15 14:11 ..
-rw-------. 1 vagrant vagrant 409 Feb 15 13:46 authorized_keys
  $ vagrant package --base "Centos 6 (64) minimal" --output

More info can be found here:

And here for VirtualBox:

This is an Eleventy project created from the eleventy-base-blog repo.