Commit f00b2176 authored by Leigh Stoller's avatar Leigh Stoller

Give management ports a hostname so that we know what it is

in the conf file.
parent 31f0a420
......@@ -253,16 +253,19 @@ while (<IF>) {
my $booting = "";
my $filename = "";
# Management ports, nothing special to do.
goto spit
if ($role eq TBDB_IFACEROLE_MANAGEMENT());
if ($vnames && defined($row{"vname"})) {
$node_id = $row{"vname"};
}
else {
$node_id = $row{"node_id"};
}
# Management ports, nothing special to do.
if ($role eq TBDB_IFACEROLE_MANAGEMENT()) {
$hostname =
"${spaces}\toption host-name \"${node_id}-mng\";\n";
goto spit;
}
my $tag;
if (defined($row{"pid"})) {
......
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