summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharlowja <harlowja@virtualbox.rhel>2012-06-20 00:26:45 -0700
committerharlowja <harlowja@virtualbox.rhel>2012-06-20 00:26:45 -0700
commitc652894310e5135bcd9a3afcce9ed262e2b2adad (patch)
tree17b5bdbfb1dadd58be79bfb2750614cff26855f9
parent8136843f3d18358b63119900578134d9673422a0 (diff)
downloadvyos-cloud-init-c652894310e5135bcd9a3afcce9ed262e2b2adad.tar.gz
vyos-cloud-init-c652894310e5135bcd9a3afcce9ed262e2b2adad.zip
Always provide a path here, in this case the root path
-rw-r--r--cloudinit/transforms/resizefs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/transforms/resizefs.py b/cloudinit/transforms/resizefs.py
index fd2bb9e1..1690094a 100644
--- a/cloudinit/transforms/resizefs.py
+++ b/cloudinit/transforms/resizefs.py
@@ -78,7 +78,7 @@ def handle(name, cfg, cloud, log, args):
util.ensure_dir(resize_root_d)
# TODO: allow what is to be resized to be configurable??
- resize_what = cloud.paths.join(False)
+ resize_what = cloud.paths.join(False, "/")
with util.SilentTemporaryFile(prefix="cloudinit.resizefs.",
dir=resize_root_d, delete=True) as tfh:
devpth = tfh.name