summaryrefslogtreecommitdiff
path: root/cloudinit/net/eni.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/net/eni.py')
-rw-r--r--cloudinit/net/eni.py4
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',