Commit 955ba600 authored by Mike Hibler's avatar Mike Hibler

Fix up my last couple of updates, got things out of synch.

parent e159a49c
......@@ -420,7 +420,7 @@ REPLACE INTO state_timeouts VALUES ('PXEFBSD','BOOTING',180,'REBOOT');
REPLACE INTO state_timeouts VALUES ('NORMALv2','TBSETUP',600,'NOTIFY');
REPLACE INTO state_timeouts VALUES ('NORMALv2','BOOTING',240,'REBOOT');
REPLACE INTO state_timeouts VALUES ('GARCIA-STARGATEv1','TBSETUP',600,'NOTIFY');
REPLACE INTO state_timeouts VALUES ('PXEKERNEL','PXEWAKEUP',20,'REBOOT');
REPLACE INTO state_timeouts VALUES ('PXEKERNEL','PXEWAKEUP',120,'REBOOT');
REPLACE INTO state_timeouts VALUES ('SECUREBOOT','BOOTING',300,'STATE:SECVIOLATION');
REPLACE INTO state_timeouts VALUES ('SECUREBOOT','GPXEBOOTING',60,'STATE:SECVIOLATION');
REPLACE INTO state_timeouts VALUES ('SECUREBOOT','PXEBOOTING',60,'STATE:SECVIOLATION');
......
#
# Update BOOTING timeout for NORMALv2. Issues with storage servers...
# Update PXEWAKEUP timeout for PXEKERNEL. Issues with BOOTINFO_EVENTS...
#
use strict;
use libdb;
......@@ -8,8 +9,11 @@ sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("REPLACE INTO state_timeouts VALUES ".
"('NORMALv2','BOOTING',240,'REBOOT')");
DBQueryFatal("UPDATE state_timeouts SET timeout=240 ".
"WHERE op_mode='NORMALv2' AND state='BOOTING'");
DBQueryFatal("UPDATE state_timeouts SET timeout=120 ".
"WHERE op_mode='PXEKERNEL' AND state='PXEWAKEUP'");
return 0;
}
......
Markdown is supported
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