summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorCraig Tracey <craigtracey@gmail.com>2013-01-17 00:27:40 -0500
committerCraig Tracey <craigtracey@gmail.com>2013-01-17 00:27:40 -0500
commit2e5875ed212fb11a91b6b2bc81dfb038b960082b (patch)
tree53f199c5ccce6db21b2570de12abd860dc47e76f /cloudinit
parent01f2979bb4fb0fcb2a51471cf81821c73f773288 (diff)
downloadvyos-cloud-init-2e5875ed212fb11a91b6b2bc81dfb038b960082b.tar.gz
vyos-cloud-init-2e5875ed212fb11a91b6b2bc81dfb038b960082b.zip
Fixing missing argument to get_cfg_option_bool
Forgot to pass cfg to this function, and thus this would have never worked.
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/config/cc_resolv_conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_resolv_conf.py b/cloudinit/config/cc_resolv_conf.py
index f67fa992..17c74695 100644
--- a/cloudinit/config/cc_resolv_conf.py
+++ b/cloudinit/config/cc_resolv_conf.py
@@ -95,7 +95,7 @@ def handle(name, cfg, _cloud, log, _args):
" no 'manage_resolv_conf' key in configuration"), name)
return
- if not util.get_cfg_option_bool("manage_resolv_conf", False):
+ if not util.get_cfg_option_bool(cfg, "manage_resolv_conf", False):
log.debug(("Skipping module named %s,"
" 'manage_resolv_conf' present but set to False"), name)
return