KVM Kickstart with virt-install

  • So in case anyone else runs into the same issue. If you are using virt-install with a kickstart file, the kickstart file needs to be under /. If it's under any other directory, it doesn't seem to work. I haven't checked to see if it's an SELinux issue or not.

    For info, here's the virt-install command:

    virt-install --network type=direct,source=enp3s0f1,model=virtio --initrd-inject /cent7min.ks --extra-args="ks=file:/cent7min.ks console=tty0 console=ttyS0,115200" --name=testy --disk path=/data/VMs/testy.qcow2,format=qcow2,bus=virtio,cache=none --ram=1024 --vcpus=1 -l /iso/CentOS7.iso --nographics