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
6793a59f
Commit
6793a59f
authored
Sep 01, 2005
by
Mike Hibler
Browse files
Get rid of ye old quadruple-X hack for pc3000s.
All nodes now use the FreeBSD5-based frisbee MFS.
parent
8cea1eb9
Changes
1
Show whitespace changes
Inline
Side-by-side
tbsetup/libosload.pm.in
View file @
6793a59f
...
...
@@ -651,24 +651,11 @@ sub SetupReloadFrisbee($$$$)
my ($node, $imageid, $osid_notused, $zerofree) = @_;
my $osid = $FRISBEEOSID;
#
# XXX I mean XXXX I really mean XXXXXXXXX
#
my $query_result =
DBQueryWarn("select type from nodes where node_id='
$
node
'");
return -1
if (!$query_result);
my ($type) = $query_result->fetchrow_array();
if ($type =~ /^pc3000/) {
$osid = "emulab-ops-FRISBEE-MFS-NEW";
}
#
# Put it in the current_reloads table so that nodes can find out which
# OS to load. See tmcd.
#
$query_result =
my
$query_result =
DBQueryWarn("replace into current_reloads ".
"(node_id, image_id, mustwipe) values ".
"('
$
node
', '
$
imageid
', $zerofree)");
...
...
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