inter['USERCTL']='no'
if network['mac']:
inter['HWADDR'] = network['mac']
+ if network['is_primary']:
+ inter['PRIMARY']='yes'
if network['method'] == "static":
inter['BOOTPROTO'] = "static"
elif network['method'] == "dhcp":
inter['BOOTPROTO'] = "dhcp"
+ inter['PERSISTENT_DHCLIENT'] = "yes"
if network['hostname']:
inter['DHCP_HOSTNAME'] = network['hostname']
else: