+
+ if not hostname_resolve_ok:
+ log.write( "Hostname does not resolve correctly, will not continue.\n" )
+
+ StartDebug.Run( vars, log )
+
+ if can_make_api_call:
+ log.write( "Notifying contacts of problem.\n" )
+
+ vars['BOOT_STATE']= 'dbg'
+ vars['STATE_CHANGE_NOTIFY']= 1
+ vars['STATE_CHANGE_NOTIFY_MESSAGE']= \
+ notify_messages.MSG_HOSTNAME_NOT_RESOLVE
+
+ UpdateBootStateWithPLC.Run( vars, log )
+
+ log.write( "\n\n" )
+ log.write( "The hostname and/or ip in the network configuration\n" )
+ log.write( "file do not resolve and match.\n" )
+ log.write( "Please make sure the hostname set in the network\n" )
+ log.write( "configuration file resolves to the ip also specified\n" )
+ log.write( "there.\n\n" )
+ log.write( "Debug mode is being started on this cd. When the above\n" )
+ log.write( "is corrected, reboot the machine to try again.\n" )
+
+ raise BootManagerException, \
+ "Configured node hostname does not resolve."