add utility method for setting hostname
print message and wait for input