Fix `$iface_type' comparison in network configuration snippets

#1195 fixes a `$iface_type` comparison in snippets/post_install_network_config_deb.
This PR applies the same fix to the other occurrences of the same code.