Not expert in Linux, therefore, request you to bear obvious questions please.
Setting up new VM on Rocky Linux 9 using below qcow2 on KVM machine.
Using below image Rocky-9-GenericCloud-Base.latest.x86_64.qcow2
My question is why the VM is asking for localhost login details, is it obvious Or am I doing something wrong ?
Also, I have added my user to libvirt using below command but my user doesn’t see list any existing VM or networking details, and can’t run virt command without sudo.
gpasswd -a XXXXX libvirt
[XXXXX@KVM-host ~]$ virsh net-list --all
Name State Autostart Persistent
[XXXXX@KVM-host ~]$ sudo virsh net-list --all
Name State Autostart Persistent
default inactive no yes
Here’s the virt command and options used.
sudo virt-install --connect qemu:///system --debug --name=Rocky-linux-9 --description “Rocky Linux VM for Test Setup” --os-type=Linux --os-variant=rocky9-unknown --ram=6144 --vcpus=4 --disk /var/lib/libvirt/images/Rocky-9-GenericCloud-Base.latest.x86_64.qcow2,size=80,bus=virtio,format=qcow2 --import --autostart --graphics vnc,listen=127.0.0.1 --console pty,target_type=serial --noautoconsole --network bridge:oam_br,model=virtio