Commit 5fe80ff4 authored by Leigh Stoller's avatar Leigh Stoller

Awful hack to allow newnode MFS to work in both inner and outer emulab.

Okay, its awful but its simple, which is good for getting it into the
release!
parent 463452d5
......@@ -209,6 +209,7 @@ while (<IF>) {
my $node_id;
my $next_server = "";
my $hostname = "";
my $dns = "";
if ($vnames && defined($row{"vname"})) {
$node_id = $row{"vname"};
......@@ -224,6 +225,7 @@ while (<IF>) {
$next_server = "${spaces}\tnext-server " .
$bossnodes{$tag} . ";\n";
$dns = "${spaces}\toption domain-name-servers 1.1.1.1;\n";
}
else {
$hostname =
......@@ -235,6 +237,7 @@ while (<IF>) {
print $OUT "${spaces}host $ip {\n";
print $OUT $next_server;
print $OUT $dns;
print $OUT "${spaces}\thardware ethernet $mac;\n";
print $OUT $hostname;
print $OUT "${spaces}\tfixed-address $ip;\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