change default boot method to uefi

This commit is contained in:
Trevor Cooper 2024-08-04 16:21:53 -07:00
parent 47b138c18a
commit 5ca92691d0
Signed by: tcooper
GPG Key ID: 52364D7BBCEB35B8
6 changed files with 40 additions and 13 deletions

View File

@ -7,7 +7,7 @@ timezone --utc America/New_York
clearpart --all clearpart --all
autopart --encrypted --passphrase=weakpassword autopart --encrypted --passphrase=weakpassword
rootpw --plaintext weakpassword rootpw --plaintext weakpassword
user --name=test --password=weakpassword --plaintext user --name=test --password=weakpassword --plaintext --groups=wheel
firstboot --enable firstboot --enable
poweroff poweroff
text text

View File

@ -157,24 +157,25 @@
"8" : ["x86_64", "aarch64"], "8" : ["x86_64", "aarch64"],
"9" : ["x86_64", "aarch64"] "9" : ["x86_64", "aarch64"]
}, },
"size" : "15"
},
{
"name" : "minimal-uefi",
"releases" : {
"8" : ["x86_64", "aarch64"],
"9" : ["x86_64", "aarch64"]
},
"size" : "15", "size" : "15",
"bootopts": "uefi" "bootopts": "uefi"
}, },
{
"name" : "minimal-bios",
"releases" : {
"8" : ["x86_64"],
"9" : ["x86_64"]
},
"size" : "15"
},
{ {
"name" : "desktop", "name" : "desktop",
"releases" : { "releases" : {
"8": ["x86_64", "aarch64"], "8": ["x86_64", "aarch64"],
"9" : ["x86_64", "aarch64"] "9" : ["x86_64", "aarch64"]
}, },
"size" : "20" "size" : "20",
"bootopts": "uefi"
}, },
{ {
"name" : "desktopencrypt", "name" : "desktopencrypt",
@ -182,7 +183,8 @@
"8" : ["x86_64", "aarch64"], "8" : ["x86_64", "aarch64"],
"9" : ["x86_64", "aarch64"] "9" : ["x86_64", "aarch64"]
}, },
"size" : "20" "size" : "20",
"bootopts": "uefi"
}, },
{ {
"name" : "server", "name" : "server",
@ -190,7 +192,8 @@
"8" : ["x86_64", "aarch64"], "8" : ["x86_64", "aarch64"],
"9" : ["x86_64", "aarch64"] "9" : ["x86_64", "aarch64"]
}, },
"size" : "9" "size" : "9",
"bootopts": "uefi"
}, },
{ {
"name" : "support", "name" : "support",
@ -198,7 +201,8 @@
"8" : ["x86_64", "aarch64"], "8" : ["x86_64", "aarch64"],
"9" : ["x86_64", "aarch64"] "9" : ["x86_64", "aarch64"]
}, },
"size" : "36" "size" : "36",
"bootopts": "uefi"
} }
], ],
"renames" : [] "renames" : []

View File

@ -13,3 +13,7 @@ text
%packages %packages
@core @core
%end %end
%post
touch $INSTALL_ROOT/home/home_preserved
%end

15
minimal-bios.ks Normal file
View File

@ -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

View File

@ -13,3 +13,7 @@ text
%packages %packages
@core @core
%end %end
%post
touch $INSTALL_ROOT/home/home_preserved
%end