From 517ec95a469805e3468797b7af287aafa2bda71e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quentin=20Th=C3=A9bault?= Date: Tue, 19 Nov 2024 22:34:00 +0900 Subject: [PATCH] update ioc_start.py - process lo0 addr --- iocage_lib/ioc_start.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iocage_lib/ioc_start.py b/iocage_lib/ioc_start.py index f11d986c..af5c31f3 100644 --- a/iocage_lib/ioc_start.py +++ b/iocage_lib/ioc_start.py @@ -1174,7 +1174,7 @@ def start_network_interface_vnet( dhcp = self.get('dhcp') - ifaces = [] + ifaces = ['lo0'] for addrs, gw, ipv6 in net_configs: if ( @@ -1193,7 +1193,7 @@ def start_network_interface_vnet( # They didn't supply an interface, assuming default iface, ip = "vnet0", addr - if iface not in nics: + if iface not in nics and iface != 'lo0': continue if iface not in ifaces: