Fedora 35 on QEmu

This commit is contained in:
Greg Hellings
2022-05-04 09:00:17 -05:00
parent d86d62230d
commit c37f8f1d67
2 changed files with 32 additions and 0 deletions
+19
View File
@@ -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/f35/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