Support Solaris hostfile in /etc/inet/hosts

With a Solaris guest, the current logic will remove the symlink from /etc/hosts -> /etc/inet/hosts and will not correctly work. This PR will test if guest is Solaris and make the additions to /etc/inet/hosts instead.