On 2/3/26 4:43 PM, Paolo Galtieri wrote:
When I try to create a VM of F43
virt-install --name ubuntu-vm-01 --ram 8192 --vcpus 2 --disk path=/run/
media/pgaltieri/SDNVIRTLAB06/VirtualMachines/KVM/VMs/ubuntu-
vm-01,size=50 --cdrom /run/media/pgaltieri/SDNVIRTLAB06/
OperatingSystems/Ubuntu/ubuntu-24.04.3-desktop-amd64.iso --network
network=default --os-variant ubuntu-stable-latest
I get
Starting install...
Allocating 'ubuntu-vm-01' | 50 GB 00:00:08
Removing disk 'ubuntu-vm-01' | 00:00:00
ERROR Network not found: no network with matching name 'default'
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///session start ubuntu-vm-01
otherwise, please restart your installation.
Looking at the available networks
virsh net-list --all
Name State Autostart Persistent
----------------------------------------
no default network, on the other hand
sudo virsh net-list --all
Name State Autostart Persistent
--------------------------------------------
default active yes yes
So what do I need to do to create the default network?
Are you trying to run "virt-install" as a user?
Add your user to the "libvirt" group and add "--connect qemu:///system"
to your commands.
You probably can't create a network using the user session.
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new