Generalized the substitution of ${nodename}, ${hostname} and ${hash}

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Code Annotations

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>