Skip to content

Instantly share code, notes, and snippets.

@toravir
toravir / create_vagrant_network_lab_with_maas_uefi.sh
Last active March 21, 2020 14:05 — forked from ruzickap/create_vagrant_network_lab_with_maas_uefi.sh
Create Vagrant lab environment with 3 separated networks with 3 VMs running MAAS and building 2 UEFI based VMs
# Centos may not have dnf - so install it first and update
yum install dnf
dnf update
# Install Vagrant and virsh command
dnf install -y libvirt-client vagrant-hostmanager vagrant-libvirt
# Allow to manage VMs via libvirt remotely (using TCP connection)
cat >> /etc/libvirt/libvirtd.conf << EOF