Ubuntu 18.04.1 - Libvirt/KVM/Qemu setup with Wok/Kimchi

home | blog | Terrible people and places | Covid-19 links | Teh Internet | guest blog |rants | placeholder | political | projects | Gwen and Liam | Citadel patched | Tools | Scouts




Here is what I did to get things working...
Big thanks to github user aluvare for his patch work here:
https://github.com/kimchi-project/kimchi/issues/1242
As always, links to needed bits included here in case the sources go away.
Install Ubuntu 18.04.1 x64 server on a computer with a processor that has AMD-V or Intel VT-x extensions (and can be enabled via the bios).

Add packages (see virt-packages.sh)
apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager

Modify the networking to use as a bridge interface (assuming you want bridge networking to your local lan):
bridge version changed in network config:
/etc/netplan/01-netcfg.yaml

Grab the debs:
ginger-base.noarch.deb - not needed if you won't be controlling the host from the interface.
kimchi-2.5.0-0.noarch.deb
wok-2.5.0-0.noarch.deb

Patch the kimchi-2.5.0-0.noarch.deb to get a patched version to work with the replaced Python PIL with Python Imaging (thanks again aluvare!)
- see fixdeb.sh

Sprinkle in installs for dependent packages:
- see install-kimchi.sh

Hopefully get a wonderful interface at:
https://host.ip.addr:8001
- might need services to be restarted...

Here is a fuller netplan config (multiple ip's and routes)... stolen from netplan.io
also multiple statics with a bridge iface for one of them.... (multiple-if.yaml).
Note: for the multiple-if.yaml example, in the "ethernets" section, don't move the addresses line below the dhcp4 or dhcp6 declaration lines. Parsing will fail and so will networking config!
And here are the files:
virt-packages.sh
fixdeb.sh
01-netcfg.yaml-bridgeversion
ginger-base.noarch.deb
kimchi-2.5.0-0.noarch.deb
wok-2.5.0-0.noarch.deb
install-kimchi.sh
multiple.yaml
multiple-if.yaml



[æ]