Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
6d18295e
Commit
6d18295e
authored
Jul 03, 2003
by
Leigh B. Stoller
Browse files
Make jail osid the default image on mini, but not on mainbed.
parent
2c426b03
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/assign_wrapper.in
View file @
6d18295e
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment