Replace bootloader id of secure boot config properly
This commit is contained in:
parent
76863db3a8
commit
3c6c6dce0e
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@ sudo sed -i \
|
|||
-e "a esp=\"$EFI_BOOT_DIR\"" \
|
||||
-e "d" \
|
||||
-e "}" \
|
||||
-e "/bootloader_id=/{" \
|
||||
-e "a bootloader_id=\"$BOOTLOADER_ID\"" \
|
||||
-e "d" \
|
||||
-e "}" \
|
||||
/etc/secureboot.conf;
|
||||
|
||||
sudo secure-grub-install;
|
||||
|
|
Loading…
Reference in a new issue