Virt-install with location url and kickstart not working

Hi, with CentOS I’m used to install VM’s using kickstart and without local media with a command like:

virt-install ... -location "htt[://..../9-stream/BaseOS/x86_64/os/" --initrd-inject ks.cfg --extra-args="inst.ks=file:///ks.cfg"

when I try this similar with Rocky Linux (I triesd both …/os/ and …/kickstart/) it loads vmlinz and initrd.img, but it fails later: for version 8 and 9 different things happen (timeouts in 8 and endless loops in 9). Is there a way to achieve virt-installs with kickstart (and without downloading and mounting stuff)?

Thanks, Jos