I want to install HomelabOS on a virtual machine, with a few services like NextCloud, Jellyfin, Pi-hole, Peertube, Funkwhale, PrivateBin.
I’ve installed QEMU/virt manager following this guide. I’ve downloaded Ubuntu 20.04.4. It says here that it requires Ubuntu Server 20.04, but I guess it’s pretty much the same.
sudo pacman -Syyu
sudo pacman -S --needed archlinux-keyring qemu virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat ebtables iptables libguestfs
sudo systemctl enable --now libvirtd.service
// Edit the file /etc/libvirt/libvirtd.conf
// unix_sock_group = "libvirt"
// unix_sock_ro_perms = "0777"
// unix_sock_rw_perms = "0770"
sudo usermod -aG libvirt $(whoami)
newgrp libvirt
sudo systemctl reload-or-restart libvirtd.service
What else should I do? I think I need to set bridged network but it’s giving me an error.
I’ve selected all the default options during the configuration of the virtual machine in Virtual Machine Manager, except for the Network selection, in which I’ve chosen Bridge device
, with Device name
asdfasdf.
Unable to complete install: ‘Cannot get interface MTU on ‘asdfasdf’: No such device’
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/createvm.py", line 2001, in _do_async_install
installer.start_install(guest, meter=meter)
File "/usr/share/virt-manager/virtinst/install/installer.py", line 701, in start_install
domain = self._create_guest(
File "/usr/share/virt-manager/virtinst/install/installer.py", line 649, in _create_guest
domain = self.conn.createXML(install_xml or final_xml, 0)
File "/usr/lib/python3.10/site-packages/libvirt.py", line 4400, in createXML
raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: Cannot get interface MTU on 'asdfasdf': No such device
You must log in or # to comment.