Commit Graph

4 Commits (b8c06f1fe12fe37486a8b096416225eccb39a4f3)

Author SHA1 Message Date
Devan Carpenter b8c06f1fe1
kvm: configure NATed networking & nested virt
This enables the "default" libvirt networking which creates a virtual
network for "guests" (VMs) which is behind NAT to the hypervisor.

Additionally nested virt is now enabled in the kernel if this playbook
is run on a non-virtualized host.

This also sets some necessary apparmour policies to allow the
libvirt-qemu group to interact with libvirt.
2020-11-03 17:35:15 +01:00
Devan Carpenter 8ea14442b6
kvm: download and store Debian Testing image
This adds Debian Testing (bullseye) to the "installmedia" store, making
it available as a base image to create new VMs.
2020-11-03 17:01:12 +01:00
Devan Carpenter eb856be7da
remove superfluous VM template
this VM template was copied over from another setup, and is not needed
at this time.
2020-11-03 13:08:56 +01:00
Devan Carpenter 1b402b2072
initialize: add basic roles to get started
This playbook is intended to be used with "ansible-pull".

This initial commit creates roles which will setup libvirt and kvm on
the host, and setup some scaffolding for creating VMs via ansible
variables.
2020-10-31 17:09:59 +01:00