Use hostname specified in attributes.

Change attribute definition to use the hostname from the system.