'action/network': fixed "unnecessary dhcp" error in private networking

Error description: if interface already exists and it's been configured with DHCP before,
these dhcp-settings applied to VM, ingnoring the 'type: static' option.

Fixed: added checking of the type.