diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-06-21 13:36:30 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-06-21 13:36:30 -0400 |
commit | 58d0b39d20ec5c18b1c9449c6358242860356e0d (patch) | |
tree | 0da9490d5c1f519705e0b3863f1b765b657f9775 /cloudinit/net/eni.py | |
parent | ed28818c80628b10c2435e77b86c81dad05674e1 (diff) | |
download | vyos-cloud-init-58d0b39d20ec5c18b1c9449c6358242860356e0d.tar.gz vyos-cloud-init-58d0b39d20ec5c18b1c9449c6358242860356e0d.zip |
fix flake8
Diffstat (limited to 'cloudinit/net/eni.py')
-rw-r--r-- | cloudinit/net/eni.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cloudinit/net/eni.py b/cloudinit/net/eni.py index fe3800ed..d963d1f2 100644 --- a/cloudinit/net/eni.py +++ b/cloudinit/net/eni.py @@ -379,7 +379,7 @@ class Renderer(renderer.Renderer): iface['inet'] = subnet_inet if iface['mode'].startswith('dhcp'): iface['mode'] = 'dhcp' - + lines = list( _iface_start_entry(iface, index) + _iface_add_subnet(iface, subnet) + @@ -407,8 +407,6 @@ class Renderer(renderer.Renderer): def _render_interfaces(self, network_state): '''Given state, emit etc/network/interfaces content.''' - content = "" - # handle 'lo' specifically as we need to insert the global dns entries # there (as that is the only interface that will be always up). lo = {'name': 'lo', 'type': 'physical', 'inet': 'inet', |