Save hostname for machine on register