summaryrefslogtreecommitdiff
path: root/cloudinit/distros/debian.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/distros/debian.py')
-rw-r--r--cloudinit/distros/debian.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cloudinit/distros/debian.py b/cloudinit/distros/debian.py
index 8e57f70e..0fa47274 100644
--- a/cloudinit/distros/debian.py
+++ b/cloudinit/distros/debian.py
@@ -85,9 +85,7 @@ class Distro(distros.Distro):
def _write_network_fallback(self):
# old fallback configuration is obsolete, disable it
util.disable_conf_file('/etc/network/interfaces.d/eth0.cfg')
- (ns, link_file, syslink_name) = net.find_fallback_network_device()
- if link_file is not None:
- util.write_file(syslink_name, link_file)
+ ns = net.generate_fallback_config()
if ns is not None:
net.render_network_state(network_state=ns, target="/")
return []