From 5ca92691d09b6391df99a5f2ec2f7a03ccdf1d28 Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Sun, 4 Aug 2024 16:21:53 -0700 Subject: [PATCH] change default boot method to uefi --- ...-aarch64.ks => desktopencrypt-aarch64-8.ks | 2 +- hdds.json | 28 +++++++++++-------- minimal-8.ks | 4 +++ minimal-uefi-8.ks => minimal-bios-8.ks | 0 minimal-bios.ks | 15 ++++++++++ minimal.ks | 4 +++ 6 files changed, 40 insertions(+), 13 deletions(-) rename desktopencrypt-8-aarch64.ks => desktopencrypt-aarch64-8.ks (86%) rename minimal-uefi-8.ks => minimal-bios-8.ks (100%) create mode 100644 minimal-bios.ks diff --git a/desktopencrypt-8-aarch64.ks b/desktopencrypt-aarch64-8.ks similarity index 86% rename from desktopencrypt-8-aarch64.ks rename to desktopencrypt-aarch64-8.ks index f6450bc..dd98584 100644 --- a/desktopencrypt-8-aarch64.ks +++ b/desktopencrypt-aarch64-8.ks @@ -7,7 +7,7 @@ timezone --utc America/New_York clearpart --all autopart --encrypted --passphrase=weakpassword rootpw --plaintext weakpassword -user --name=test --password=weakpassword --plaintext +user --name=test --password=weakpassword --plaintext --groups=wheel firstboot --enable poweroff text diff --git a/hdds.json b/hdds.json index 7948d0f..cc074af 100644 --- a/hdds.json +++ b/hdds.json @@ -157,24 +157,25 @@ "8" : ["x86_64", "aarch64"], "9" : ["x86_64", "aarch64"] }, - "size" : "15" - }, - { - "name" : "minimal-uefi", - "releases" : { - "8" : ["x86_64", "aarch64"], - "9" : ["x86_64", "aarch64"] - }, "size" : "15", "bootopts": "uefi" }, + { + "name" : "minimal-bios", + "releases" : { + "8" : ["x86_64"], + "9" : ["x86_64"] + }, + "size" : "15" + }, { "name" : "desktop", "releases" : { "8": ["x86_64", "aarch64"], "9" : ["x86_64", "aarch64"] }, - "size" : "20" + "size" : "20", + "bootopts": "uefi" }, { "name" : "desktopencrypt", @@ -182,7 +183,8 @@ "8" : ["x86_64", "aarch64"], "9" : ["x86_64", "aarch64"] }, - "size" : "20" + "size" : "20", + "bootopts": "uefi" }, { "name" : "server", @@ -190,7 +192,8 @@ "8" : ["x86_64", "aarch64"], "9" : ["x86_64", "aarch64"] }, - "size" : "9" + "size" : "9", + "bootopts": "uefi" }, { "name" : "support", @@ -198,7 +201,8 @@ "8" : ["x86_64", "aarch64"], "9" : ["x86_64", "aarch64"] }, - "size" : "36" + "size" : "36", + "bootopts": "uefi" } ], "renames" : [] diff --git a/minimal-8.ks b/minimal-8.ks index d04d9d8..29f50d6 100644 --- a/minimal-8.ks +++ b/minimal-8.ks @@ -13,3 +13,7 @@ text %packages @core %end + +%post +touch $INSTALL_ROOT/home/home_preserved +%end diff --git a/minimal-uefi-8.ks b/minimal-bios-8.ks similarity index 100% rename from minimal-uefi-8.ks rename to minimal-bios-8.ks diff --git a/minimal-bios.ks b/minimal-bios.ks new file mode 100644 index 0000000..bfd56f4 --- /dev/null +++ b/minimal-bios.ks @@ -0,0 +1,15 @@ +bootloader --location=mbr +network --bootproto=dhcp +url --url="https://download.rockylinux.org/pub/rocky/9/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 diff --git a/minimal.ks b/minimal.ks index bfd56f4..39cc942 100644 --- a/minimal.ks +++ b/minimal.ks @@ -13,3 +13,7 @@ text %packages @core %end + +%post +touch $INSTALL_ROOT/home/home_preserved +%end