diff options
Diffstat (limited to 'cloudinit/distros/freebsd.py')
-rw-r--r-- | cloudinit/distros/freebsd.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/cloudinit/distros/freebsd.py b/cloudinit/distros/freebsd.py index 513abdc2..fa5c6616 100644 --- a/cloudinit/distros/freebsd.py +++ b/cloudinit/distros/freebsd.py @@ -13,6 +13,8 @@ from cloudinit import log as logging from cloudinit import subp, util from cloudinit.settings import PER_INSTANCE +from .networking import FreeBSDNetworking + LOG = logging.getLogger(__name__) @@ -23,6 +25,7 @@ class Distro(cloudinit.distros.bsd.BSD): (N.B. DragonFlyBSD inherits from this class.) """ + networking_cls = FreeBSDNetworking usr_lib_exec = "/usr/local/lib" login_conf_fn = "/etc/login.conf" login_conf_fn_bak = "/etc/login.conf.orig" @@ -153,13 +156,6 @@ class Distro(cloudinit.distros.bsd.BSD): LOG, "Failed to restore %s backup", self.login_conf_fn ) - def apply_network_config_names(self, netconfig): - # This is handled by the freebsd network renderer. It writes in - # /etc/rc.conf a line with the following format: - # ifconfig_OLDNAME_name=NEWNAME - # FreeBSD network script will rename the interface automatically. - pass - def _get_pkg_cmd_environ(self): """Return environment vars used in *BSD package_command operations""" e = os.environ.copy() |