Skip to content

Instantly share code, notes, and snippets.

@dustymabe
Last active November 6, 2015 16:47
Show Gist options
  • Save dustymabe/f4db1ef857260d216ab2 to your computer and use it in GitHub Desktop.
Save dustymabe/f4db1ef857260d216ab2 to your computer and use it in GitHub Desktop.
Fedora Cloud Vagrant Boxes in Atlas

With the Fedora 22 release we started creating Vagrant boxes for our cloud images in order to make it easier to set up a local environment for development or testing. In the 22 release cycle we worked out quite a few kinks and we are again releasing libvirt and virtualbox Vagrant boxes for Fedora 23. We are also going a step farther this time and making it easier for users by having the Vagrant boxes indexed in Hashicorp's Atlas. Atlas is essentially an index of Vagrant boxes that makes it easy to distribute them (think of it like a Docker registry for VM images).

By indexing the Fedora boxes in Atlas users now have the option of using the vagrant software to download and add the boxes automatically rather than the user having to go grab the boxes directly from the mirrors first (although this is still an option).

In order to get started with the Fedora cloud base image just:

# vagrant init fedora/23-cloud-base && vagrant up

To get started with Fedora Atomic host:

# vagrant init fedora/23-atomic-host && vagrant up

The above commands will grab the latest indexed images in Atlas and start a VM without the user having to go download the image first. Hopefully this will make it easier for Fedora users to develop and test! If you haven't delved into Vagrant yet then you can get started by visiting the Vagrant page on the Fedora Developer Portal. Let us know on the Fedora cloud mailing list if you have any trouble.

Dusty

@LalatenduMohanty
Copy link

I have made some small improvisation at https://gist.github.com/LalatenduMohanty/905e99d8679cfbed3831

@strzibny
Copy link

strzibny commented Nov 6, 2015

Can I ask you to include a link to Fedora Developer Portal about setting up Vagrant? https://developer.fedoraproject.org/tools/vagrant/about.html

@dustymabe
Copy link
Author

@strzibny yep I'll use that link instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment