fixed hostname setting during preseed/kickstart to detect if hostname exists, and if not set it to be the mac of the the active interface