set hostname first in initializing node