Last active
August 29, 2015 14:07
-
-
Save alexbartsch/a6499b1b2835c14d1baa to your computer and use it in GitHub Desktop.
Mutate a vagrant-box for using it with libvirt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# This is a script to convert (by using `mutate` command of VirtualBox) | |
# a virtualbox image for using it with libvirt | |
# | |
wget http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box -O ubuntu-trusty-x64-vagrant.box | |
vagrant mutate ubuntu-trusty-x64-vagrant.box libvirt | |
vagrant box list | |
export VAGRANT_DEFAULT_PROVIDER=libvirt | |
vagrant box repackage ubuntu-trusty-x64-vagrant libvirt 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment