Commit d51c8d34 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

A little hack to help debug my update ip/domain script.

parent ec2f5e1e
......@@ -176,6 +176,15 @@ while (my ($node_id,$pid,$eid,$vname,$erole) = $db_result->fetchrow_array()) {
}
push @{$cnames{$node_id}}, "$vname.$eid.$pid";
# Temp hack for Leigh
if ($pid eq "testbed" and $eid eq "xen-leelab") {
push @{$cnames{$node_id}}, "${vname}.xenlab.$pid";
if (defined($erole) && $erole =~ /boss/) {
push @{$cnames{$node_id}}, "www.xenlab.$pid";
}
}
#
# Special case for inner elab boss; add CNAME for www.
#
......
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