summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-01-24 18:44:09 +0000
committerScott Moser <smoser@ubuntu.com>2011-01-24 18:44:09 +0000
commit0740b0d5278a6629f4fab68e2c3344bedaa78169 (patch)
tree93ceacf970b37ff5de2310ff4155cbf8af158c87
parent17ce079fa5a1f3dc2987ef32ff5600c13191ef16 (diff)
downloadvyos-cloud-init-0740b0d5278a6629f4fab68e2c3344bedaa78169.tar.gz
vyos-cloud-init-0740b0d5278a6629f4fab68e2c3344bedaa78169.zip
cloud-init.py: fix bad variable name
-rwxr-xr-xcloud-init.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloud-init.py b/cloud-init.py
index 62ac9965..347982d7 100755
--- a/cloud-init.py
+++ b/cloud-init.py
@@ -104,10 +104,10 @@ def main():
cfg_path = cloudinit.get_ipath_cur("cloud_config")
cc = CC.CloudConfig(cfg_path, cloud)
- modules_list = CC.read_cc_modules(cc.cfg,"cloud_init_modules")
+ module_list = CC.read_cc_modules(cc.cfg,"cloud_init_modules")
failures = []
- if len(modules_list):
+ if len(module_list):
failures = CC.run_cc_modules(cc,module_list,log)
else:
msg = "no cloud_init_modules to run"