summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2024-03-28 13:55:43 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-03-28 14:36:30 +0000
commitc253afd21d8243d29e1de5917b1bc9502285658c (patch)
tree41fd5ba19783a000452aa8227b2ad43471ea2aa9
parent9bdd00b7d6850f4ccabcc8ad53ff4f09676ba83f (diff)
downloadvyos-1x-c253afd21d8243d29e1de5917b1bc9502285658c.tar.gz
vyos-1x-c253afd21d8243d29e1de5917b1bc9502285658c.zip
grub: T4516: correct a format string
(cherry picked from commit 74e502c16109b8d6d197751fc63ac5a32ff44404)
-rw-r--r--python/vyos/system/grub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/system/grub.py b/python/vyos/system/grub.py
index 864ed65aa..e56f0bec8 100644
--- a/python/vyos/system/grub.py
+++ b/python/vyos/system/grub.py
@@ -374,7 +374,7 @@ def create_structure(root_dir: str = '') -> None:
if not root_dir:
root_dir = disk.find_persistence()
- Path(f'{root_dir}/GRUB_DIR_VYOS_VERS').mkdir(parents=True, exist_ok=True)
+ Path(f'{root_dir}/{GRUB_DIR_VYOS_VERS}').mkdir(parents=True, exist_ok=True)
def set_console_type(console_type: str, root_dir: str = '') -> None: