Fedora 34 on QEmu
This commit is contained in:
+12
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Submodule
+1
Submodule http/fedora/f34 added at 022f04580e
Submodule
+1
Submodule http/fedora/f35 added at 3cfe995016
Submodule
+1
Submodule http/fedora/f36 added at a69afdb7e0
Reference in New Issue
Block a user