get_ip_cmd with virtualbox didn't work for me, adjusted a bit