Merge pull request #11 from lumarel/fix/clarify-version-kickstart

Split kickstart files for Rocky 8 and 9
This commit is contained in:
Lukas Magauer 2022-09-16 22:49:14 +02:00 committed by GitHub
commit 4108a7ac16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 173 additions and 5 deletions

21
desktop-8.ks Normal file
View File

@ -0,0 +1,21 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart
rootpw --plaintext weakpassword
user --name=test --password=weakpassword --plaintext
firstboot --enable
poweroff
%packages
@^workstation-product-environment
-selinux-policy-minimum
%end
%post
touch $INSTALL_ROOT/home/home_preserved
%end

View File

@ -0,0 +1,17 @@
bootloader --location=mbr --append="console=tty0 quiet"
network --bootproto=dhcp
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/aarch64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart --encrypted --passphrase=weakpassword
rootpw --plaintext weakpassword
user --name=test --password=weakpassword --plaintext
firstboot --enable
poweroff
%packages
@^workstation-product-environment
-selinux-policy-minimum
%end

17
desktopencrypt-8.ks Normal file
View File

@ -0,0 +1,17 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart --encrypted --passphrase=weakpassword
rootpw --plaintext weakpassword
user --name=test --password=weakpassword --plaintext
firstboot --enable
poweroff
%packages
@^workstation-product-environment
-selinux-policy-minimum
%end

View File

@ -1,6 +1,6 @@
bootloader --location=mbr --append="console=tty0 quiet"
network --bootproto=dhcp
url --url="https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/"
url --url="https://download.rockylinux.org/pub/rocky/9/BaseOS/aarch64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York

View File

@ -52,7 +52,7 @@
]
},
{
"name" : "ks",
"name" : "ks-8",
"size" : "100M",
"parts" : [
{
@ -66,7 +66,36 @@
{
"part" : "1",
"target" : "/root-user-crypted-net.ks",
"source" : "root-user-crypted-net.ks"
"source" : "root-user-crypted-net-8.ks"
},
{
"part" : "1",
"target" : "/freeipa.ks",
"source" : "freeipa.ks"
},
{
"part" : "1",
"target" : "/freeipaclient.ks",
"source" : "freeipaclient.ks"
}
]
},
{
"name" : "ks-9",
"size" : "100M",
"parts" : [
{
"filesystem" : "ext4",
"type" : "p",
"start" : "4096",
"end" : "-1"
}
],
"uploads" : [
{
"part" : "1",
"target" : "/root-user-crypted-net.ks",
"source" : "root-user-crypted-net-9.ks"
},
{
"part" : "1",
@ -169,7 +198,7 @@
"8" : ["x86_64", "aarch64"],
"9" : ["x86_64", "aarch64"]
},
"size" : "15"
"size" : "30"
}
],
"renames" : []

14
minimal-8.ks Normal file
View File

@ -0,0 +1,14 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart
rootpw weakpassword
poweroff
%packages
@core
%end

18
minimal-uefi-8.ks Normal file
View File

@ -0,0 +1,18 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart
rootpw weakpassword
poweroff
%packages
@core
%end
%post
touch $INSTALL_ROOT/home/home_preserved
%end

16
server-8.ks Normal file
View File

@ -0,0 +1,16 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart
rootpw weakpassword
user --name=test --password=weakpassword --plaintext
poweroff
%packages
@^server-product-environment
plymouth-system-theme
%end

19
support-8.ks Normal file
View File

@ -0,0 +1,19 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
#repo --name="epel" --baseurl="http://mirrors.kernel.org/fedora-epel/8/Everything/x86_64/"
# use epel to keep scsi-target-utils instead of targetcli
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart
rootpw weakpassword
poweroff
%packages
@core
targetcli
nfs-utils
dnsmasq
%end

View File

@ -1,7 +1,7 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/"
#repo --name="epel" --baseurl="http://mirrors.kernel.org/fedora-epel/8/Everything/x86_64/"
#repo --name="epel" --baseurl="http://mirrors.kernel.org/fedora-epel/9/Everything/x86_64/"
# use epel to keep scsi-target-utils instead of targetcli
lang en_US.UTF-8
keyboard us

View File

@ -0,0 +1,17 @@
bootloader --location=mbr
network --device=link --activate --bootproto=dhcp
url --url="https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart
rootpw --iscrypted $6$ansiogjasd0io9u3$9E1vMbLbXW14grtguedFGVjvhyBz1T.KIA3MJl1SWnGbtTpiXIAjbazIQAUKRNkNIEmd3mI0NCkFIVBrN41fZ.
user --name=test --password=$6$ansioasgfgadsghd$O8O8zom5hx.V8ib1jV91xuvIgYqA2b99tzhibkk3URITdCrDtbRbwJjMK1kW4l0/9W0brraGC4NUBtDoGv4Kl. --iscrypted
reboot
%packages
@core
%end