Isn't there a variable for the node hostname?