Add Fedora 36

This commit is contained in:
Greg Hellings
2022-05-27 01:04:24 -05:00
parent 8b6ec661e4
commit 0b50a40cf2
2 changed files with 32 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
distro = "fedora"
arch = "x86_64"
version = "36"
iso = {
url = "https://download.fedoraproject.org/pub/fedora/linux/releases/36/Server/x86_64/iso/Fedora-Server-dvd-x86_64-36-1.5.iso"
checksum = "5edaf708a52687b09f9810c2b6d2a3432edac1b18f4d8c908c0da6bde0379148"
}
boot_wait = "20s"
boot_command = [
"<up><tab><bs><bs><bs><bs><bs>",
"edd=off net.ifnames=0 biosdevnames=0 inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/fedora/35-x86_64.ks console=ttyS0<enter><wait>"
]
ssh_handshake_attempts = 1000
+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