Skip to content

Instantly share code, notes, and snippets.

@sferich888
Last active December 13, 2017 23:17
Show Gist options
  • Save sferich888/9e46f32901d6a14d9a1c189e0cf3d784 to your computer and use it in GitHub Desktop.
Save sferich888/9e46f32901d6a14d9a1c189e0cf3d784 to your computer and use it in GitHub Desktop.
Using virt-install to test kickstart files (without a webserver).
sudo virt-install -n test -r 2048 --disk path=/var/lib/libvirt/images/test.img,size=25,format=qcow2,sparse=false --location="https://mirrors.rit.edu/fedora/fedora/linux/releases/27/Workstation/x86_64/os/" --initrd-inject=fedora.ks -x "ks=file:/fedora.ks" --noautoconsole
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment