diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-01-10 18:59:19 +0100 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-01-10 18:59:19 +0100 |
commit | 40267132dff97d9912670dcf49c065d0e9def437 (patch) | |
tree | 1f72fcbef635e02e4d804f45a82162b7c82c921e /cloudinit/CloudConfig | |
parent | 43b9a01ea0e982549f82279465fe866ba4008473 (diff) | |
download | vyos-cloud-init-40267132dff97d9912670dcf49c065d0e9def437.tar.gz vyos-cloud-init-40267132dff97d9912670dcf49c065d0e9def437.zip |
fix invalid variable name in cloudinit/CloudConfig/cc_resizefs.py
Diffstat (limited to 'cloudinit/CloudConfig')
-rw-r--r-- | cloudinit/CloudConfig/cc_resizefs.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |