Use :net_adm.localhost to get hostname