Just Digital

Harder, better, faster, stronger

Vagrant box Ubuntu 12.04 (Precise) in a bash script

I discovered Vagrant recently,  and quickly fell in love as I realised it power and awesome.  

It's basically a wrapper over Oracle's VirtualBox (which by it's self is a great tool) but when combined with the Chef/Puppet scripts a whole new world of automation unfolds.

It will take a little time to set up your environment initially, but once it's set up it's set up for life.

Now where to find a small Ubuntu Server 12.04 vagrant box that I can trust?  Well, I couldn't find any (not even this site).  However I did find a fantastic script by Carl Crafoord that packages up a Vagrant box in a bash script.

The only teeny tiny issue is that it was build for a Mac, so I had to port it onto Ubuntu 12.04 Desktop edition and also changed it to download the ISO via torrent (transmission-cli), which is way, way quicker.

$ git clone https://github.com/just-digital/vagrant-ubuntu-precise-64.git

I've tested it but only on my local PC.  Please let me know if you have any issues.

  • Hiya!

    I'm a friendly local developer in New Zealand turning coffee into code and talking about it all here.
    - Kevin

  • Contact me

    Need some freelance or contract work, hire me for small or medium jobs. Contact me here.

  • Tweets

    I'm really impressed at how quickly @Localcoinswap_ moves. They've just released the Whitepaper and it's a really… https://t.co/ZhHpCOElLg

    @Localcoinswap_ when can we read the whitepaper? https://t.co/9d4Gqsx3zW

    Anybody having a hard time buying crypto with fiat? It took me 2 day, and a handful of throw-away accounts only to… https://t.co/shqle1CkRQ

    "A Foolish Consistency is the Hobgoblin of Little Minds" #PEP8 should be taught in primary school. http://t.co/LZgPY4PA

    @shawn_hamman check out "Magnetospirillum magneticum". I want to keep some as pets. http://t.co/8xMa2Ntb

  • Categories