Commit 1189b0ef authored by Mike Hibler's avatar Mike Hibler

Whacky changes needed when adding the last set of Clemson nodes.

parent b76a39cf
......@@ -112,8 +112,8 @@ function guess_node_type($proc,$disk) {
($disk < ($HD * (1.0 + $fudge_factor)))) {
if ($node_type != "") {
# We found two potential matches, choose neither
echo "Found a second match ($type), bailing\n";
return "";
echo "Found another match ($type), using that\n";
$node_type = $type;
} else {
echo "Found a first match ($type)\n";
$node_type = $type;
......
......@@ -205,7 +205,7 @@ while ($row = mysql_fetch_array($query_result)) {
"value='$mac'></td>\n";
echo "<td><input type='text' name='iface${card}_type' size=5 " .
"value='$type'></td>\n";
echo "<td><input type='text' name='iface${card}_switch_id' size=10 " .
echo "<td><input type='text' name='iface${card}_switch_id' size=16 " .
"value='$switch_id'></td>\n";
echo "<td><input type='text' name='iface${card}_switch_card' size=3 " .
"value='$switch_card'></td>\n";
......
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