Skip to content

Commit

Permalink
update ioc_start.py - process lo0 addr
Browse files Browse the repository at this point in the history
  • Loading branch information
Defenso-QTH committed Nov 19, 2024
1 parent c426e83 commit 517ec95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iocage_lib/ioc_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ def start_network_interface_vnet(

dhcp = self.get('dhcp')

ifaces = []
ifaces = ['lo0']

for addrs, gw, ipv6 in net_configs:
if (
Expand All @@ -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:
Expand Down

0 comments on commit 517ec95

Please sign in to comment.