summaryrefslogtreecommitdiff
path: root/cloudinit/net
diff options
context:
space:
mode:
authorShreenidhi Shedi <53473811+sshedi@users.noreply.github.com>2021-08-13 09:08:53 +0530
committerGitHub <noreply@github.com>2021-08-12 21:38:53 -0600
commit04047438d7bbca0367f1b0722c0959fd92166e3e (patch)
tree20232debe1e17d9c24a197beb5e500ad881ba497 /cloudinit/net
parent1c3b10b58768ec4c70384f4a7af7ce956518fe7c (diff)
downloadvyos-cloud-init-04047438d7bbca0367f1b0722c0959fd92166e3e.tar.gz
vyos-cloud-init-04047438d7bbca0367f1b0722c0959fd92166e3e.zip
cc_resolv_conf: fix typos (#969)
Add tests for cc_resolv_conf handler
Diffstat (limited to 'cloudinit/net')
-rw-r--r--cloudinit/net/networkd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/net/networkd.py b/cloudinit/net/networkd.py
index 63e3a07f..a311572f 100644
--- a/cloudinit/net/networkd.py
+++ b/cloudinit/net/networkd.py
@@ -72,8 +72,8 @@ class Renderer(renderer.Renderer):
def __init__(self, config=None):
if not config:
config = {}
- self.resolved_conf = config.get('resolved_conf_fn',
- '/etc/systemd/resolved.conf')
+ self.resolve_conf_fn = config.get('resolve_conf_fn',
+ '/etc/systemd/resolved.conf')
self.network_conf_dir = config.get('network_conf_dir',
'/etc/systemd/network/')