summaryrefslogtreecommitdiff
path: root/cloudinit/distros/debian.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@gmail.com>2016-05-09 16:50:17 -0700
committerJoshua Harlow <harlowja@gmail.com>2016-05-09 16:50:17 -0700
commite459e3525cf8321245a2f29b869e9978eb15f2c9 (patch)
treef28b428e4eed72e3295289fafc2d85c3717504a3 /cloudinit/distros/debian.py
parenta800da2371b85b2ece1a30de00f988035819c958 (diff)
downloadvyos-cloud-init-e459e3525cf8321245a2f29b869e9978eb15f2c9.tar.gz
vyos-cloud-init-e459e3525cf8321245a2f29b869e9978eb15f2c9.zip
Rename renderer attribute to _net_renderer
Diffstat (limited to 'cloudinit/distros/debian.py')
-rw-r--r--cloudinit/distros/debian.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/distros/debian.py b/cloudinit/distros/debian.py
index e8fc1df4..21a4f805 100644
--- a/cloudinit/distros/debian.py
+++ b/cloudinit/distros/debian.py
@@ -57,7 +57,7 @@ class Distro(distros.Distro):
# should only happen say once per instance...)
self._runner = helpers.Runners(paths)
self.osfamily = 'debian'
- self.renderer = debian.Renderer()
+ self._net_renderer = debian.Renderer()
def apply_locale(self, locale, out_fn=None):
if not out_fn:
@@ -82,7 +82,7 @@ class Distro(distros.Distro):
def _write_network_config(self, netconfig):
ns = net.parse_net_config_data(netconfig)
- self.renderer.render_network_state(
+ self._net_renderer.render_network_state(
target="/", network_state=ns,
eni=self.network_conf_fn, links_prefix=self.links_prefix,
netrules=None)