bootstrap: set the hostname to the instance id

@martinrhoads @patrickviet @pcarrier