summaryrefslogtreecommitdiff
path: root/python/vyos/system
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-28 15:44:46 +0100
committerGitHub <noreply@github.com>2024-03-28 15:44:46 +0100
commit9e5af058434d65b0bc34640a1d29721d0a23c053 (patch)
tree41fd5ba19783a000452aa8227b2ad43471ea2aa9 /python/vyos/system
parent9bdd00b7d6850f4ccabcc8ad53ff4f09676ba83f (diff)
parentc253afd21d8243d29e1de5917b1bc9502285658c (diff)
downloadvyos-1x-9e5af058434d65b0bc34640a1d29721d0a23c053.tar.gz
vyos-1x-9e5af058434d65b0bc34640a1d29721d0a23c053.zip
Merge pull request #3203 from vyos/mergify/bp/sagitta/pr-3201
grub: T4516: correct a format string (backport #3201)
Diffstat (limited to 'python/vyos/system')
-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: