global HOSTNAME from command line argument

Change-Id: I1afa0587e2b5d2f0a0ec5c290f2a4f7e422a0a83