fixed hostname generation out of kickstart post