Upgrade Your Vagrant

Last week , I have read a tweet somewhere from internet and I got to know there is something new coming up from vagrant! Hoyayyy , new version of vagrant can use a cloud service whihc is provided by hashicorp [ Company behind the vagrant ] freely for beta now.

I was trilled that we can now share our boxes and download the community shared boxes as we wish with just some lines of command. Firstly you need to upgrade your vagrant. There was no way we can upgrade the tool by itself and so we need to re-download the software from their website.

Then make this version command and should be out like this.

1
2
$ vagrant -v
Vagrant 1.5.1


Then sign-up a free account at vagrantcloud.com. Community featured boxes can be found here. In my case I would like to use chef/ubuntu-13.10.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$ vagrant init chef/ubuntu-13.10
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'chef/ubuntu-13.10' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'chef/ubuntu-13.10'
    default: URL: https://vagrantcloud.com/chef/ubuntu-13.10
==> default: Adding box 'chef/ubuntu-13.10' (v1.0.0) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/chef/ubuntu-13.10/version/1/provider/virtualbox.box
    default: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)

It will automatically download the box if it is not locally pre-installed.

We can share our customzied boxes with community/friends/co-workers using vagrantcloud.com’s cloud service. The pricing is still unknown and currently you are free to share/download the boxes as you wish.The official documentation can be found here.

Have fun

Copyright © 2016 - Tin Aung Linn. Powered by Octopress