mirror-env/libvirt
Andrew Wang e969093d67 add install instruc and update mirror role 2021-09-30 01:01:55 -04:00
..
templates give up on autoinstall 2021-09-27 22:49:49 -04:00
ubuntu add install instruc and update mirror role 2021-09-30 01:01:55 -04:00
README.md add install instruc and update mirror role 2021-09-30 01:01:55 -04:00
main.yml small update 2021-09-28 00:02:19 -04:00

README.md

Installation

ansible-playbook libvirt/main.yml

Then connect to the created vm using virt-viewer

virt-viewer --domain-name mirror

If vm is on a remote machine

virt-viewer --connect qemu+ssh://user@X.X.X.X/system mirror

Troubleshooting

net.ipv4.ip_forward = 1
modprobe kvm_intel

If running in /root may need to edit config

# edit /etc/libvirt/qemu.conf
user = "root"
group = "root"
$ service restart libvirtd