mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-11-21 12:41:24 +00:00
change default boot method to uefi
This commit is contained in:
parent
47b138c18a
commit
5ca92691d0
@ -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
|
28
hdds.json
28
hdds.json
@ -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" : []
|
||||||
|
@ -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
15
minimal-bios.ks
Normal 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
|
@ -13,3 +13,7 @@ text
|
|||||||
%packages
|
%packages
|
||||||
@core
|
@core
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
touch $INSTALL_ROOT/home/home_preserved
|
||||||
|
%end
|
||||||
|
Loading…
Reference in New Issue
Block a user