diff --git a/http/fedora/rawhide-x86_64.ks b/http/fedora/rawhide-x86_64.ks new file mode 100644 index 0000000..80fff9e --- /dev/null +++ b/http/fedora/rawhide-x86_64.ks @@ -0,0 +1,19 @@ +text + +%packages +# There is weirdness with the /etc/resolv.conf in the target system +# that causes some of the imported systems to fail. Hopefully this +# prevents that. +-systemd-resolved +NetworkManager +%end + +%include /tmp/packer_ks/fedora/rawhide/fedora-cloud-base-vagrant.ks + +%pre --interpreter /bin/bash --log /tmp/greg +cmdline=$(cat /proc/cmdline) +ks=$(printf "${cmdline}" | sed -E -e 's/.*inst\.ks=([^ ]*).*/\1/') +mkdir -p /tmp/packer_ks +cd /tmp/packer_ks +wget -m -nH "$(dirname "${ks}")" +%end