Fixed ipaddress not set when primary_nic not set