mirror-env/libvirt/README.md

651 B

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