From 480023e76d85b918bb717ce2b885b737668e7b58 Mon Sep 17 00:00:00 2001 From: lumarel Date: Thu, 15 Sep 2022 23:58:49 +0200 Subject: [PATCH] Make seperate kickstart files for 8 and 9 Notice that most 9 files are still without version to make it easier for the next major release --- desktop-8.ks | 21 +++++++++++++++++++++ desktopencrypt-8-aarch64.ks | 17 +++++++++++++++++ desktopencrypt-8.ks | 17 +++++++++++++++++ desktopencrypt-aarch64.ks | 2 +- minimal-8.ks | 14 ++++++++++++++ minimal-uefi-8.ks | 18 ++++++++++++++++++ server-8.ks | 16 ++++++++++++++++ support-8.ks | 19 +++++++++++++++++++ support.ks | 2 +- 9 files changed, 124 insertions(+), 2 deletions(-) create mode 100644 desktop-8.ks create mode 100644 desktopencrypt-8-aarch64.ks create mode 100644 desktopencrypt-8.ks create mode 100644 minimal-8.ks create mode 100644 minimal-uefi-8.ks create mode 100644 server-8.ks create mode 100644 support-8.ks diff --git a/desktop-8.ks b/desktop-8.ks new file mode 100644 index 0000000..7dac1b9 --- /dev/null +++ b/desktop-8.ks @@ -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 diff --git a/desktopencrypt-8-aarch64.ks b/desktopencrypt-8-aarch64.ks new file mode 100644 index 0000000..7a4d71e --- /dev/null +++ b/desktopencrypt-8-aarch64.ks @@ -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 diff --git a/desktopencrypt-8.ks b/desktopencrypt-8.ks new file mode 100644 index 0000000..3e54a89 --- /dev/null +++ b/desktopencrypt-8.ks @@ -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 diff --git a/desktopencrypt-aarch64.ks b/desktopencrypt-aarch64.ks index c34a326..6dcae4e 100644 --- a/desktopencrypt-aarch64.ks +++ b/desktopencrypt-aarch64.ks @@ -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 diff --git a/minimal-8.ks b/minimal-8.ks new file mode 100644 index 0000000..fe12163 --- /dev/null +++ b/minimal-8.ks @@ -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 diff --git a/minimal-uefi-8.ks b/minimal-uefi-8.ks new file mode 100644 index 0000000..d415c5d --- /dev/null +++ b/minimal-uefi-8.ks @@ -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 diff --git a/server-8.ks b/server-8.ks new file mode 100644 index 0000000..e30eb92 --- /dev/null +++ b/server-8.ks @@ -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 diff --git a/support-8.ks b/support-8.ks new file mode 100644 index 0000000..5051098 --- /dev/null +++ b/support-8.ks @@ -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 diff --git a/support.ks b/support.ks index c3d60fe..e39f505 100644 --- a/support.ks +++ b/support.ks @@ -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