mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 21:16:57 +02:00
build_library: Drop redundant config from grub.cfg
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
This commit is contained in:
parent
c1bdbd9d90
commit
04005652dd
@ -23,18 +23,6 @@ set linux_append=""
|
||||
|
||||
set secure_boot="0"
|
||||
|
||||
if [ "$grub_platform" = "efi" ]; then
|
||||
getenv -e SecureBoot -g 8be4df61-93ca-11d2-aa0d-00e098032b8c -b sb
|
||||
getenv -e SetupMode -g 8be4df61-93ca-11d2-aa0d-00e098032b8c -b setupmode
|
||||
if [ "$sb" = "01" -a "$setupmode" = "00" ]; then
|
||||
set secure_boot="1"
|
||||
getenv -e NetBootVerificationKey -g b8ade7d5-d400-4213-8d15-d47be0a621bf -b gpgpubkey
|
||||
if [ "$gpgpubkey" != "" ]; then
|
||||
trust_var gpgpubkey
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$net_default_server" != "" ]; then
|
||||
smbios --type 1 --get-uuid 8 --set uuid
|
||||
smbios --type 1 --get-string 7 --set serial
|
||||
|
Loading…
Reference in New Issue
Block a user