summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorDusty Mabe <dusty@dustymabe.com>2017-09-13 11:08:56 -0400
committerScott Moser <smoser@brickies.net>2017-09-14 13:55:15 -0400
commit29a9296cd68516e76d0bd8da320754a222c4ee45 (patch)
tree9184ca8de5b5fac29a7a08a487fdd67364365aee /cloudinit
parent7629702ca0956fb26d27ee19ed99306f73421c66 (diff)
downloadvyos-cloud-init-29a9296cd68516e76d0bd8da320754a222c4ee45.tar.gz
vyos-cloud-init-29a9296cd68516e76d0bd8da320754a222c4ee45.zip
resizefs: pass mount point to xfs_growfs
Supposedly it was never a feature to be able to pass a path to a block device to xfs_growfs and have it grow the filesystem. The behavior changed upstream recently. It is only supported to pass the mount point of a mounted XFS filesystem. This causes breakages in cloud-init. Upstream xfs change was commit b97815a0321072a7154ecab63e297af84066fc78. https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?id=b97815a0321 rhbz: rhbz: https://bugzilla.redhat.com/show_bug.cgi?id=1490505 Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/config/cc_resizefs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_resizefs.py b/cloudinit/config/cc_resizefs.py
index f14d3836..f42b6a63 100644
--- a/cloudinit/config/cc_resizefs.py
+++ b/cloudinit/config/cc_resizefs.py
@@ -67,7 +67,7 @@ def _resize_ext(mount_point, devpth):
def _resize_xfs(mount_point, devpth):
- return ('xfs_growfs', devpth)
+ return ('xfs_growfs', mount_point)
def _resize_ufs(mount_point, devpth):