mirror-env/libvirt
Andrew Wang f4f973327c small update 2021-09-28 00:02:19 -04:00
..
templates give up on autoinstall 2021-09-27 22:49:49 -04:00
README.md small update 2021-09-28 00:02:19 -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

TODO

for now just have a folder of screenshots

  • change name of lvm volume from "lv0-root" to just "root" troubleshooting: ignore "failed to unmount /cdrom" and just ctrl+c in viewer

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