Add rawhide kickstart file
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user