From 3d9741c9bc948c3001a2e3994ad5b7b6f35cf966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Tue, 29 Nov 2022 07:06:51 +0200 Subject: [PATCH] Fix xfs_grow arguments --- declarative.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/declarative.py b/declarative.py index d39774f..f944cc2 100644 --- a/declarative.py +++ b/declarative.py @@ -109,6 +109,6 @@ def be_fs_expanded(dev, path): elif fs == "btrfs": run(f"btrfs filesystem resize max {path}") elif fs == "xfs": - run(f"xfs_growfs -d {dev}") + run(f"xfs_growfs -d {path}") else: raise Exception(f"Unsupported fsType: {fs}")