Commit 6793a59f authored by Mike Hibler's avatar 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
...@@ -651,24 +651,11 @@ sub SetupReloadFrisbee($$$$) ...@@ -651,24 +651,11 @@ sub SetupReloadFrisbee($$$$)
my ($node, $imageid, $osid_notused, $zerofree) = @_; my ($node, $imageid, $osid_notused, $zerofree) = @_;
my $osid = $FRISBEEOSID; 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 # Put it in the current_reloads table so that nodes can find out which
# OS to load. See tmcd. # OS to load. See tmcd.
# #
$query_result = my $query_result =
DBQueryWarn("replace into current_reloads ". DBQueryWarn("replace into current_reloads ".
"(node_id, image_id, mustwipe) values ". "(node_id, image_id, mustwipe) values ".
"('$node', '$imageid', $zerofree)"); "('$node', '$imageid', $zerofree)");
......
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