From 40267132dff97d9912670dcf49c065d0e9def437 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 10 Jan 2012 18:59:19 +0100 Subject: fix invalid variable name in cloudinit/CloudConfig/cc_resizefs.py --- cloudinit/CloudConfig/cc_resizefs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudinit/CloudConfig/cc_resizefs.py b/cloudinit/CloudConfig/cc_resizefs.py index 33a0d313..6615636f 100644 --- a/cloudinit/CloudConfig/cc_resizefs.py +++ b/cloudinit/CloudConfig/cc_resizefs.py @@ -28,7 +28,7 @@ frequency = per_always def handle(name,cfg,cloud,log,args): if len(args) != 0: resize_root = False - if str(value).lower() in [ 'true', '1', 'on', 'yes']: + if str(args[0]).lower() in [ 'true', '1', 'on', 'yes']: resize_root = True else: resize_root = util.get_cfg_option_bool(cfg,"resize_rootfs",True) -- cgit v1.2.3