KVM Virt-instll for Network location not working


I am struggling to do a network install using virt-install. Can anyone see a problem with this command:

virt-install --name test2-rocky9 --ram 2048 --disk path=/var/lib/libvirt/images/test2-rocky9.img,size=50 --vcpus 1 --os-type linux --location ’ https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os’ --graphics vnc,port=5907 --network network=default --os-variant linux

I receive an error:
Installer errors encountered during boot: ####
method= is depreciated. Using repo=https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os

I am currently using a ISO and able to boot and install using --location=
which has extra-argument for inst.ks=

The kickstart file is not accepting the following:

Use network installation

url --url=“https://mirror.web4africa.co.za/rockylinux/9/BaseOS/x86_64/os/

Setting manually when the installation process happens works perfectly fine.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.