diff options
author | Joshua Harlow <harlowja@gmail.com> | 2016-05-09 16:50:17 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2016-05-09 16:50:17 -0700 |
commit | e459e3525cf8321245a2f29b869e9978eb15f2c9 (patch) | |
tree | f28b428e4eed72e3295289fafc2d85c3717504a3 /cloudinit | |
parent | a800da2371b85b2ece1a30de00f988035819c958 (diff) | |
download | vyos-cloud-init-e459e3525cf8321245a2f29b869e9978eb15f2c9.tar.gz vyos-cloud-init-e459e3525cf8321245a2f29b869e9978eb15f2c9.zip |
Rename renderer attribute to _net_renderer
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/distros/debian.py | 4 |
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) |