Fedora 34 on QEmu

This commit is contained in:
Greg Hellings
2022-05-04 09:00:17 -05:00
parent d1e922929a
commit d86d62230d
6 changed files with 39 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
[submodule "http/fedora/f34"]
path = http/fedora/f34
url = https://pagure.io/fedora-kickstarts.git
branch = f34
[submodule "http/fedora/f35"]
path = http/fedora/f35
url = https://pagure.io/fedora-kickstarts.git
branch = f35
[submodule "http/fedora/f36"]
path = http/fedora/f36
url = https://pagure.io/fedora-kickstarts.git
branch = f36
+13
View File
@@ -0,0 +1,13 @@
distro = "fedora"
arch = "x86_64"
version = "34"
iso = {
url = "https://download.fedoraproject.org/pub/fedora/linux/releases/34/Server/x86_64/iso/Fedora-Server-netinst-x86_64-34-1.2.iso"
checksum = "e1a38b9faa62f793ad4561b308c31f32876cfaaee94457a7a9108aaddaeec406"
}
boot_wait = "20s"
boot_command = [
"<tab><bs><bs><bs><bs><bs>",
"net.ifnames=0 biosdevnames=0 inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/fedora/34-x86_64.ks console=ttyS0<enter><wait>"
]
ssh_handshake_attempts = 1000
+11
View File
@@ -0,0 +1,11 @@
text
%include /tmp/packer_ks/fedora/f34/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
+1
Submodule http/fedora/f34 added at 022f04580e
+1
Submodule http/fedora/f35 added at 3cfe995016
+1
Submodule http/fedora/f36 added at a69afdb7e0