You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"_comment": "grub2-mkconfig is packaged with the grub2 base package. Images that boot for the first time using the mkconfig flow must therefore have grub2 installed by the tools."
logger.Log.Info("Removing pre-existing 'Azure Linux' boot targets from efibootmgr")
184
-
program:="efibootmgr"// Default behavior when piped or called without options is to print current boot order in a human-readable format
185
-
commandArgs:= []string{
186
-
"|", "grep", "\"Azure Linux\"", // Filter boot order for Azure Linux boot targets
187
-
"|", "sed", "'s/* Azure Linux//g'", // Pruning for just the bootnum
188
-
"|", "sed", "'s/Boot*//g'", // Pruning for just the bootnum
189
-
"|", "xargs", "-t", "-i", "efibootmgr", "-b", "{}", "-B", // Calling efibootmgr --delete-bootnum (aka `-B`) on each pre-existing bootnum with an Azure Linux label
196
+
logger.Log.Info("Removing pre-existing 'Edge Microvisor Toolkit' boot targets from efibootmgr")
197
+
198
+
// First, test if Edge Microvisor Toolkit entries exist
0 commit comments