diff --git a/rootconf/sysroot-lib/onie/common-blkdev b/rootconf/sysroot-lib/onie/common-blkdev index 06a7e09c..c1ed85de 100644 --- a/rootconf/sysroot-lib/onie/common-blkdev +++ b/rootconf/sysroot-lib/onie/common-blkdev @@ -23,7 +23,7 @@ set_onie_next_boot() # select ONIE as the next OS to boot. The "BootNext" variable # is only used once by the firmware, after which the permanent # "BootOrder" variable is used. - local boot_num=$(efibootmgr | grep "ONIE:" | grep "HD" | awk '{ print $1 }') + local boot_num=$(efibootmgr -v| grep "ONIE:" | grep "HD" | awk '{ print $1 }') boot_num=${boot_num#Boot} # Remove trailing '*' boot_num=${boot_num%\*}