summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2024-03-28 13:55:43 +0000
committerDaniil Baturin <daniil@baturin.org>2024-03-28 13:55:43 +0000
commit74e502c16109b8d6d197751fc63ac5a32ff44404 (patch)
tree83f3a9c37ad519c391a37213eafe012095fc59e9 /python/vyos
parent889c1a81a9e291a276e35617f1d77f9f9bd4b194 (diff)
downloadvyos-1x-74e502c16109b8d6d197751fc63ac5a32ff44404.tar.gz
vyos-1x-74e502c16109b8d6d197751fc63ac5a32ff44404.zip
grub: T4516: correct a format string
Diffstat (limited to 'python/vyos')
-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: