Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phlummox/vagrant-in-vagrant
Vagrant inside vagrant, using libvirt
https://github.com/phlummox/vagrant-in-vagrant
ci kvm libvirt packer qemu vagrant virtualization
Last synced: about 1 month ago
JSON representation
Vagrant inside vagrant, using libvirt
- Host: GitHub
- URL: https://github.com/phlummox/vagrant-in-vagrant
- Owner: phlummox
- License: unlicense
- Created: 2021-03-24T11:56:52.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-27T15:58:07.000Z (almost 4 years ago)
- Last Synced: 2023-08-17T23:53:15.960Z (over 1 year ago)
- Topics: ci, kvm, libvirt, packer, qemu, vagrant, virtualization
- Language: Shell
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# vagrant-in-vagrant
[![build](https://github.com/phlummox/vagrant-in-vagrant/actions/workflows/ci.yml/badge.svg)](https://github.com/phlummox/vagrant-in-vagrant/actions/workflows/ci.yml)
Builds and uploads (to the GitHub releases page, and to the
Vagrant Cloud, in the case of the box):- The [libvirt plugin][plugin] for Vagrant, built on Ubuntu 18.04.
- A [Vagrant][vagrant] box, based on Ubuntu 18.04, containing Vagrant
and the libvirt driver.[plugin]: https://github.com/vagrant-libvirt/vagrant-libvirt
[vagrant]: https://github.com/vagrant-libvirt/vagrant-libvirtTogether these can be used to run Vagrant boxes within Vagrant
boxes, even on Continuous Integration (CI) servers that don't support
(for instance) VirtualBox, or provide hardware-based acceleration.Why would you want that? Usually, because you're wanting to
build and test virtual machines on a CI server.## Prerequisites
`packer` and `vagrant` need to be installed - see the `.github` CI
file for how to do this.The build also requires the following Ubuntu packages to be
installed:- `pv` - used for giving progress feedback in the makefile
- `qemu-utils` and `qemu-kvm`## Building
```
make packer-build
```## Using the plugin
Download `vagrant.d.tgz` from the [Releases][releases] page,
and un-tar it into your home directory.[releases]: https://github.com/phlummox/vagrant-in-vagrant/releases/
## Using the box
```
$ vagrant init phlummox/vagrant-in-vagrant
$ vagrant up
```