NETWORK section is optional
This commit is contained in:
@ -560,7 +560,7 @@ def handle_config():
|
||||
to_start = {}
|
||||
ifname = ''
|
||||
try:
|
||||
netcfg = config['NETWORK']
|
||||
netcfg = config.get('NETWORK', {})
|
||||
for name in netcfg:
|
||||
if name not in box.network_interfaces:
|
||||
print(f'{name} is not a valid network interface name')
|
||||
|
Reference in New Issue
Block a user