summaryrefslogtreecommitdiff
path: root/cloudinit/stages.py
diff options
context:
space:
mode:
authorAlberto Contreras <aciba90@gmail.com>2022-04-26 20:29:50 +0200
committerGitHub <noreply@github.com>2022-04-26 13:29:50 -0500
commitce610eb4f8b734f75f7a4c3a368035dde5a7b035 (patch)
treeb81ef10d978007fe0e67d701eb7bbc15719c7984 /cloudinit/stages.py
parent847200c1775d0c8a6854f0da3f15373677a14c60 (diff)
downloadcloud-init-git-ce610eb4f8b734f75f7a4c3a368035dde5a7b035.tar.gz
cloudinit.net refactor: apply_network_config_names (#1388)
Remove `apply_network_config_names` from `cloudinit.net` and `Distro` classes so it is only accessible via the networking attribute. LP: #1884602
Diffstat (limited to 'cloudinit/stages.py')
-rw-r--r--cloudinit/stages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/stages.py b/cloudinit/stages.py
index 89b38147..3dece336 100644
--- a/cloudinit/stages.py
+++ b/cloudinit/stages.py
@@ -852,7 +852,7 @@ class Init(object):
def _apply_netcfg_names(self, netcfg):
try:
LOG.debug("applying net config names for %s", netcfg)
- self.distro.apply_network_config_names(netcfg)
+ self.distro.networking.apply_network_config_names(netcfg)
except Exception as e:
LOG.warning("Failed to rename devices: %s", e)