Commit 6d18295e authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Make jail osid the default image on mini, but not on mainbed.

parent 2c426b03
......@@ -311,9 +311,16 @@ my %defaultosids = ();
$query_result =
DBQueryFatal("SELECT type,delay_osid,osid from node_types");
my $OURDOMAIN = "@OURDOMAIN@";
while (($type,$delayosid,$defosid) = $query_result->fetchrow_array()) {
$delayosids{$type} = $delayosid;
$jailosids{$type} = "emulab-ops-FBSD47-UPDATE";
if ($OURDOMAIN eq "mini.emulab.net") {
$jailosids{$type} = "FBSD-STD";
}
else {
$jailosids{$type} = "emulab-ops-FBSD47-UPDATE";
}
$defaultosids{$type} = $defosid;
}
......
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