summaryrefslogtreecommitdiff
path: root/cloud-init-cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloud-init-cfg.py')
-rwxr-xr-xcloud-init-cfg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloud-init-cfg.py b/cloud-init-cfg.py
index 98bf63ce..dd8bd7f1 100755
--- a/cloud-init-cfg.py
+++ b/cloud-init-cfg.py
@@ -68,8 +68,8 @@ def main():
module_list = [ ]
if name == "all":
modlist_cfg_name = "%s_modules" % modlist
- modules_list = CC.read_cc_modules(cc.cfg,modlist_cfg_name)
- if not len(modules_list):
+ module_list = CC.read_cc_modules(cc.cfg,modlist_cfg_name)
+ if not len(module_list):
err("no modules to run in cloud_config [%s]" % modlist,log)
sys.exit(0)
else: