Commit 665c518c authored by Leigh B Stoller's avatar Leigh B Stoller

Add sitevar to hold default architecture priority for the mapper, when

all nodes are untyped.
parent f0199fbb
......@@ -171,6 +171,7 @@ INSERT INTO sitevariables VALUES ('reload/retrytime',NULL,'20','If a node has be
INSERT INTO sitevariables VALUES ('reload/failtime',NULL,'0','If a node has been in reloading for longer than this period (minutes), send it to hwdown. If zero, leave nodes in reloading.',0);
INSERT INTO sitevariables VALUES ('reload/warnonretry',NULL,'1','If non-zero send e-mail to testbed-ops when a retry is attempted.',0);
INSERT INTO sitevariables VALUES ('reload/hwdownaction',NULL,'nothing','What to do when nodes are moved to hwdown. One of: poweroff, adminmode, or nothing.',0);
INSERT INTO sitevariables VALUES ('general/architecture_priority',NULL,'x86_64,aarch64','Default mapper ordering for multi architecture testbeds.',0);
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
......
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("INSERT INTO sitevariables VALUES ".
" ('general/architecture_priority',NULL,'x86_64,aarch64', ".
" 'Default mapper ordering for multi architecture testbeds.',0)")
if (!TBSiteVarExists("general/architecture_priority"));
return 0;
}
# Local Variables:
# mode:perl
# End:
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