summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-07 12:43:20 +0100
committerGitHub <noreply@github.com>2024-01-07 12:43:20 +0100
commit3ee63a4f4cbc17da1e0e8bce5ea36af0c4a0928b (patch)
treeeac31fae3bf90ebd48d46f7186827676c9667855 /python/vyos
parentdff740f3cfb57757146d465d994499c552876359 (diff)
parentf883455d9a3081780c43426ab26de9d26f24c9aa (diff)
downloadvyos-1x-3ee63a4f4cbc17da1e0e8bce5ea36af0c4a0928b.tar.gz
vyos-1x-3ee63a4f4cbc17da1e0e8bce5ea36af0c4a0928b.zip
Merge pull request #2760 from bluknight/current
image: T5898: fix kernel-level partition rescan
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/system/disk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/system/disk.py b/python/vyos/system/disk.py
index b8a2c0f35..7860d719f 100644
--- a/python/vyos/system/disk.py
+++ b/python/vyos/system/disk.py
@@ -78,7 +78,7 @@ def parttable_create(drive_path: str, root_size: int) -> None:
run(command)
# update partitons in kernel
sync()
- run(f'partprobe {drive_path}')
+ run(f'partx -u {drive_path}')
partitions: list[str] = partition_list(drive_path)