From 1ab061f8d8f1dfece48a93af8dad66d6389038d8 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Mon, 14 Aug 2023 09:10:37 +1200 Subject: [PATCH] fix boot entry creation to use actual removable media path --- subiquity/server/controllers/install.py | 2 +- subiquity/server/controllers/tests/test_install.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/subiquity/server/controllers/install.py b/subiquity/server/controllers/install.py index 03ec91419..2e0ad9c94 100644 --- a/subiquity/server/controllers/install.py +++ b/subiquity/server/controllers/install.py @@ -525,7 +525,7 @@ async def configure_rp_boot_uefi(self, context, rp: Partition): "efibootmgr", "--create", "--loader", - "\\EFI\\boot\\shimx64.efi", + "\\EFI\\boot\\bootx64.efi", "--disk", rp.device.path, "--part", diff --git a/subiquity/server/controllers/tests/test_install.py b/subiquity/server/controllers/tests/test_install.py index 0b142d90a..645df605d 100644 --- a/subiquity/server/controllers/tests/test_install.py +++ b/subiquity/server/controllers/tests/test_install.py @@ -251,7 +251,7 @@ async def test_configure_rp_boot_uefi_add(self, m_get_efibootmgr): "efibootmgr", "--create", "--loader", - "\\EFI\\boot\\shimx64.efi", + "\\EFI\\boot\\bootx64.efi", "--disk", self.part.device.path, "--part", @@ -282,7 +282,7 @@ async def test_configure_rp_boot_uefi_bootnext(self, m_get_efibootmgr): "efibootmgr", "--create", "--loader", - "\\EFI\\boot\\shimx64.efi", + "\\EFI\\boot\\bootx64.efi", "--disk", self.part.device.path, "--part", @@ -312,7 +312,7 @@ async def test_configure_rp_boot_uefi_dup(self, m_get_efibootmgr): "efibootmgr", "--create", "--loader", - "\\EFI\\boot\\shimx64.efi", + "\\EFI\\boot\\bootx64.efi", "--disk", self.part.device.path, "--part",