title: Using ks.cfg with virt-install?
body: <p>I've been trying to get a virtual machine working with a cfg file on centos but unfortunately, I'm getting the error that ks.cfg file does not exist.</p>
  
  <p>Below is the command I ran to enable the VM.</p>
  
  <pre><code>virt-install --name FedoraTest --ram 1024 --disk pool=default,size=10 --location ~/Desktop/CentosOS --initrd-inject ks.cfg --extra-args "ks=file:~/Desktop/ks.cfg"
  </code></pre>
  
  <p>I am new to the VM setup and am unsure if I'm doing it right. </p>
  
  <p>Any advice on how to fix this will be greatly appreciated.</p>
  
  <p>Also, what does initrd-inject do? And is it possible to save the above command into a file and run the file instead?</p>