Commit 71da91ff authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Added protogeni/default_osname sitevar

parent 0e096853
......@@ -106,6 +106,7 @@ INSERT INTO sitevariables VALUES ('general/idlepower_enable',NULL,'0','Enable id
INSERT INTO sitevariables VALUES ('general/idlepower_idletime',NULL,'3600','Maximum number of seconds idle before a node is powered down to conserve electricity',0);
INSERT INTO sitevariables VALUES ('general/autoswap_max',NULL,'120','Maximum number of hours for the experiment autoswap limit.',0);
INSERT INTO sitevariables VALUES ('protogeni/show_sslcertbox','1','1','When set, users see option on join/start project pages to create SSL certificate.',0);
INSERT INTO sitevariables VALUES ('protogeni/default_osname','','','The default os name used for ProtoGENI slivers when no os is specified on a node.',0);
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
......
#
# Add initial_passphrase slot to users table.
#
use strict;
use libdb;
my $impotent = 0;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("INSERT INTO sitevariables VALUES ".
"('protogeni/default_osname','','', ".
" 'The default os name used for ProtoGENI slivers ".
"when no os is specified on a node.', 0)")
if (!TBSiteVarExists("protogeni/default_osname"));
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