ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    KVM Kickstart with virt-install

    IT Discussion
    kvm virt-install linux
    1
    1
    487
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stacksofplatesS
      stacksofplates
      last edited by

      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
      
      1 Reply Last reply Reply Quote 4
      • 1 / 1
      • First post
        Last post