add support for Rocky 8 BETA and LookAhead qcow2

This commit is contained in:
Trevor Cooper 2023-09-23 20:42:09 -07:00
parent fe8b338c8b
commit fdd57251c9
Signed by: tcooper
GPG Key ID: 52364D7BBCEB35B8
13 changed files with 304 additions and 0 deletions

28
desktop-8-BETA.ks Normal file
View File

@ -0,0 +1,28 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/stg/rocky/8-BETA/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
text
%packages
@^workstation-product-environment
-selinux-policy-minimum
%end
%post
touch $INSTALL_ROOT/home/home_preserved
%end
%post
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
%end

28
desktop-8-LookAhead.ks Normal file
View File

@ -0,0 +1,28 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/stg/rocky/8-LookAhead/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
text
%packages
@^workstation-product-environment
-selinux-policy-minimum
%end
%post
touch $INSTALL_ROOT/home/home_preserved
%end
%post
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
%end

24
desktopencrypt-8-BETA.ks Normal file
View File

@ -0,0 +1,24 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/stg/rocky/8-BETA/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
text
%packages
@^workstation-product-environment
-selinux-policy-minimum
%end
%post
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
%end

View File

@ -0,0 +1,24 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/stg/rocky/8-LookAhead/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
text
%packages
@^workstation-product-environment
-selinux-policy-minimum
%end
%post
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
%end

View File

@ -155,6 +155,8 @@
"name" : "minimal",
"releases" : {
"8" : ["x86_64", "aarch64"],
"8-BETA" : ["x86_64"],
"8-LookAhead" : ["x86_64"],
"9" : ["x86_64", "aarch64"]
},
"size" : "15"
@ -163,6 +165,8 @@
"name" : "minimal-uefi",
"releases" : {
"8" : ["x86_64", "aarch64"],
"8-BETA" : ["x86_64"],
"8-LookAhead" : ["x86_64"],
"9" : ["x86_64", "aarch64"]
},
"size" : "15",
@ -172,6 +176,8 @@
"name" : "desktop",
"releases" : {
"8": ["x86_64", "aarch64"],
"8-BETA" : ["x86_64"],
"8-LookAhead" : ["x86_64"],
"9" : ["x86_64", "aarch64"]
},
"size" : "20"
@ -180,6 +186,8 @@
"name" : "desktopencrypt",
"releases" : {
"8" : ["x86_64", "aarch64"],
"8-BETA" : ["x86_64"],
"8-LookAhead" : ["x86_64"],
"9" : ["x86_64", "aarch64"]
},
"size" : "20"
@ -188,6 +196,8 @@
"name" : "server",
"releases" : {
"8" : ["x86_64", "aarch64"],
"8-BETA" : ["x86_64"],
"8-LookAhead" : ["x86_64"],
"9" : ["x86_64", "aarch64"]
},
"size" : "9"
@ -196,6 +206,8 @@
"name" : "support",
"releases" : {
"8" : ["x86_64", "aarch64"],
"8-BETA" : ["x86_64"],
"8-LookAhead" : ["x86_64"],
"9" : ["x86_64", "aarch64"]
},
"size" : "36"

21
minimal-8-BETA.ks Normal file
View File

@ -0,0 +1,21 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/stg/rocky/8-BETA/BaseOS/x86_64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart
rootpw weakpassword
poweroff
text
%packages
@core
%end
%post
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
%end

21
minimal-8-LookAhead.ks Normal file
View File

@ -0,0 +1,21 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/stg/rocky/8-LookAhead/BaseOS/x86_64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart
rootpw weakpassword
poweroff
text
%packages
@core
%end
%post
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
%end

25
minimal-uefi-8-BETA.ks Normal file
View File

@ -0,0 +1,25 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/stg/rocky/8-BETA/BaseOS/x86_64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart
rootpw weakpassword
poweroff
text
%packages
@core
%end
%post
touch $INSTALL_ROOT/home/home_preserved
%end
%post
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
%end

View File

@ -0,0 +1,25 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/stg/rocky/8-LookAhead/BaseOS/x86_64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart
rootpw weakpassword
poweroff
text
%packages
@core
%end
%post
touch $INSTALL_ROOT/home/home_preserved
%end
%post
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
%end

23
server-8-BETA.ks Normal file
View File

@ -0,0 +1,23 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/stg/rocky/8-BETA/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
text
%packages
@^server-product-environment
plymouth-system-theme
%end
%post
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
%end

23
server-8-LookAhead.ks Normal file
View File

@ -0,0 +1,23 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/stg/rocky/8-LookAhead/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
text
%packages
@^server-product-environment
plymouth-system-theme
%end
%post
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
%end

26
support-8-BETA.ks Normal file
View File

@ -0,0 +1,26 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/stg/rocky/8-BETA/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
text
%packages
@core
targetcli
nfs-utils
dnsmasq
%end
%post
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
%end

24
support-8-LookAhead.ks Normal file
View File

@ -0,0 +1,24 @@
bootloader --location=mbr
network --bootproto=dhcp
url --url="https://download.rockylinux.org/stg/rocky/8-LookAhead/BaseOS/x86_64/os/"
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart
rootpw weakpassword
poweroff
text
%packages
@core
targetcli
nfs-utils
dnsmasq
%end
%post
/usr/bin/sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/sed -i 's,^#\(baseurl=http[s]*://\),\1,g' /etc/yum.repos.d/Rocky-*.repo
/usr/bin/echo "stg/rocky" > /etc/dnf/vars/contentdir
%end