Commit 82b4aab6 authored by Mike Hibler's avatar Mike Hibler
Browse files

Increase PXEBOOTING timeout to 180 seconds for PXEKERNEL.

Our storage server don't always quite make it through the OS boot to
DHCP in 120 seconds.
parent 87ff74ce
......@@ -439,7 +439,7 @@ REPLACE INTO state_timeouts VALUES ('WIMRELOAD','SHUTDOWN',240,'REBOOT');
REPLACE INTO state_timeouts VALUES ('WIMRELOAD','RELOADSETUP',60,'NOTIFY');
REPLACE INTO state_timeouts VALUES ('WIMRELOAD','RELOADING',1800,'NOTIFY');
REPLACE INTO state_timeouts VALUES ('WIMRELOAD','RELOADDONE',60,'NOTIFY');
REPLACE INTO state_timeouts VALUES ('PXEKERNEL','PXEBOOTING',120,'REBOOT');
REPLACE INTO state_timeouts VALUES ('PXEKERNEL','PXEBOOTING',180,'REBOOT');
--
-- Dumping data for table `state_transitions`
......
#
# Increase PXEBOOTING timeout to 180 seconds for PXEKERNEL. Some of our machines
# cannot make it from initial DHCP to OS running in 120 seconds.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("UPDATE state_timeouts SET timeout=180 ".
"WHERE op_mode='PXEKERNEL' AND state='PXEBOOTING'");
return 0;
}
1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment