diff options
author | Craig Tracey <craigtracey@gmail.com> | 2013-01-17 00:27:40 -0500 |
---|---|---|
committer | Craig Tracey <craigtracey@gmail.com> | 2013-01-17 00:27:40 -0500 |
commit | 2e5875ed212fb11a91b6b2bc81dfb038b960082b (patch) | |
tree | 53f199c5ccce6db21b2570de12abd860dc47e76f /cloudinit | |
parent | 01f2979bb4fb0fcb2a51471cf81821c73f773288 (diff) | |
download | vyos-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.py | 2 |
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 |