# Virt-install with location url and kickstart not working

**URL:** https://forums.rockylinux.org/t/virt-install-with-location-url-and-kickstart-not-working/9698
**Category:** Rocky Linux Help & Support
**Created:** [April 25, 2023, 7:00pm UTC](https://forums.rockylinux.org/t/virt-install-with-location-url-and-kickstart-not-working/9698 "2023-04-25T19:00:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jos](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@jos](https://forums.rockylinux.org/u/jos)
#### Post date: [April 25, 2023, 7:00pm UTC](https://forums.rockylinux.org/t/virt-install-with-location-url-and-kickstart-not-working/9698/1 "2023-04-25T19:00:10Z")

</div>

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

---

<div class="post-metadata">

### Author: ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)
#### Post date: [August 25, 2023, 3:16am UTC](https://forums.rockylinux.org/t/virt-install-with-location-url-and-kickstart-not-working/9698/2 "2023-08-25T03:16:39Z")

</div>


