Skip to content
A set of Vagrant boxes to install and test the Xen hypervisor
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
debian
fedora
.gitignore
README.md

README.md

vagrant-xen

This repository provides a set of Vagrant boxes to configure and install Xen.

The initial goal was to build a test suite for virtual machine introspection tools on Xen in a reproducible environment, but it can be extended to many use cases revolving around Xen development.

Requirements

  • Vagrant
  • ansible
  • ruby-dev
  • libvirt-dev

Configuration

A few options can be tweaked in the <distro>/Vagrantfile.

  • source: build Xen from source, or use the distribution packages
  • vmi: install VMI tools (libvmi, libvmi-python, rekall)

Setup

Install the required Vagrant plugins:

$ vagrant plugin install vagrant-libvirt vagrant-reload

The choose a supported distribution and build the box:

$ cd fedora
$ vagrant up --provider=libvirt

Your Vagrant box is ready !

Usage

Run vagrant ssh to get a shell into the VM.

Virt-Manager: remote connection

As SSH is open for password authentication, you can manage your VMs from virt-manager with a remote connection.

Use vagrant ssh and ip a to get the IP address of the VM, and add a new connection in virt-manager with these credentials:

  • username: root
  • password: vagrant
You can’t perform that action at this time.