Add ability to always set the type of NIC

Hi there, sorry for the last pull request. I moved the line in question outside of the if condition, so no more duplicate lines of code.

With the patch you are able to set the type of NIC (e.g. virtio) for all kind of public network devices, not just if "type = direct")