summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-03-21 16:41:50 -0400
committerScott Moser <smoser@ubuntu.com>2012-03-21 16:41:50 -0400
commitebb0642b939a048e6218a28ebcd73ac86dcc7fdd (patch)
tree3505f67f24692cf187f3404814249d0edbd337d3 /cloudinit/CloudConfig
parenta088694a7dd88d0645d540c6b194fe4fd3628b28 (diff)
downloadvyos-cloud-init-ebb0642b939a048e6218a28ebcd73ac86dcc7fdd.tar.gz
vyos-cloud-init-ebb0642b939a048e6218a28ebcd73ac86dcc7fdd.zip
fix bad variable if blocking cc_resizefs
Diffstat (limited to 'cloudinit/CloudConfig')
-rw-r--r--cloudinit/CloudConfig/cc_resizefs.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cloudinit/CloudConfig/cc_resizefs.py b/cloudinit/CloudConfig/cc_resizefs.py
index 73e4e7bf..2dc66def 100644
--- a/cloudinit/CloudConfig/cc_resizefs.py
+++ b/cloudinit/CloudConfig/cc_resizefs.py
@@ -87,8 +87,9 @@ def handle(_name, cfg, _cloud, log, args):
else:
do_resize(resize_cmd, devpth, log)
- log.debug("resizing root filesystem (type=%s, maj=%i, min=%i). pid=%s" %
- (str(fstype).rstrip("\n"), os.major(st_dev), os.minor(st_dev), fid))
+ log.debug("resizing root filesystem (type=%s, maj=%i, min=%i, val=%s)" %
+ (str(fstype).rstrip("\n"), os.major(st_dev), os.minor(st_dev),
+ resize_root))
return