diff options
author | Joshua Harlow <harlowja@gmail.com> | 2016-06-10 14:40:05 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2016-06-10 14:40:05 -0700 |
commit | cf7ba5b30597660b7ab4fbdd92f0762e0011c1d6 (patch) | |
tree | e753155e3a6f7eaa68b2493902e5a43758ed403b /cloudinit/distros | |
parent | a8de234ec60c76b7b788513e8111be04ad9205fb (diff) | |
download | vyos-cloud-init-cf7ba5b30597660b7ab4fbdd92f0762e0011c1d6.tar.gz vyos-cloud-init-cf7ba5b30597660b7ab4fbdd92f0762e0011c1d6.zip |
Fix the broken import and 'parse_net_config_data' function usage
Diffstat (limited to 'cloudinit/distros')
-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 e71aaa97..603b0b61 100644 --- a/cloudinit/distros/debian.py +++ b/cloudinit/distros/debian.py @@ -25,8 +25,8 @@ import os from cloudinit import distros from cloudinit import helpers from cloudinit import log as logging -from cloudinit import net from cloudinit.net import eni +from cloudinit.net.network_state import parse_net_config_data from cloudinit import util from cloudinit.distros.parsers.hostname import HostnameConf @@ -81,7 +81,7 @@ class Distro(distros.Distro): return ['all'] def _write_network_config(self, netconfig): - ns = net.parse_net_config_data(netconfig) + ns = parse_net_config_data(netconfig) self._net_renderer.render_network_state( target="/", network_state=ns, eni=self.network_conf_fn, links_prefix=self.links_prefix, |