diff --git a/library/system/setup b/library/system/setup index 23be63865e..27961e3ad6 100644 --- a/library/system/setup +++ b/library/system/setup @@ -1128,7 +1128,7 @@ class LinuxNetwork(Network): default_ipv4['network'] = network default_ipv4['macaddress'] = macaddress default_ipv4['mtu'] = interfaces[device]['mtu'] - default_ipv4['type'] = interfaces[device]['type'] + default_ipv4['type'] = interfaces[device].get("type", "unknown") default_ipv4['alias'] = words[-1] if not address.startswith('127.'):