Set unique hostnames when launching multiple instances

Change-Id: I5bef77aff24c35dcff1e993034e34cd87e672186