diff --git a/confluent_osdeploy/common/profile/scripts/confignet b/confluent_osdeploy/common/profile/scripts/confignet index 562a8ca1..650f4eb6 100644 --- a/confluent_osdeploy/common/profile/scripts/confignet +++ b/confluent_osdeploy/common/profile/scripts/confignet @@ -416,13 +416,11 @@ class NetworkManager(object): cmdargs['infiniband.parent'] = iname cmdargs['infiniband.p-key'] = vlan iname = '{0}.{1}'.format(iname, vlan[2:]) - cname = iname if not cname else cname elif ctype == 'ethernet': ctype = 'vlan' cmdargs['vlan.parent'] = iname cmdargs['vlan.id'] = vlan iname = '{0}.{1}'.format(iname, vlan) - cname = iname if not cname else cname else: sys.stderr.write("Warning, unknown interface_name ({0}) device type ({1}) for VLAN/PKEY, skipping setup\n".format(iname, ctype)) return