Canonical
on 14 January 2015
Announcing snappy Ubuntu Core on Vagrant cloud
Last month, Canonical announced snappy Ubuntu Core, the new, transactional version of Ubuntu, designed for public clouds. So far, snappy Ubuntu Core images are available on Microsoft Azure, Google Compute Engine, and Amazon AWS.
Today, we are delighted to announce the addition of Vagrant images to this impressive line-up [1, 2]. These images are bit-for-bit the same as the KVM images, but have a Cloud-init configuration that allows snappy Ubuntu Core to work within the Vagrant workflow. Vagrant enables a cross platform developer experience on MacOS, Windows or Linux [3].
Note: due to the way that Ubuntu Core works, shared file systems within Vagrant are not possible at this time. We are working on getting the shared file system support enabled and will announce this in due course.
If you want to use Vagrant packaged in the archives, in a terminal run::
- sudo apt-get -y install vagrant
- cd <WORKSPACE>
- vagrant box add snappy http://goo.gl/6eAAoX
- vagrant init snappy
- vagrant up
- vagrant ssh
If you use Vagrant from [4] (i.e Windows, Mac or install the latest Vagrant), then you can run:
- vagrant init ubuntu/ubuntu-core-devel-amd64
- vagrant up
- vagrant ssh
[1] http://cloud-images.ubuntu.com/snappy/devel/core/current/devel-core-amd64-vagrant.box
[2] https://docs.vagrantup.com/v2/why-vagrant/index.html
[3] https://atlas.hashicorp.com/ubuntu/boxes/ubuntu-core-devel-amd64
[4] https://www.vagrantup.com/downloads.html