Check for pending reboot when the hostname has changed.