Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
d51c8d34
Commit
d51c8d34
authored
Jan 26, 2012
by
Leigh B Stoller
Browse files
A little hack to help debug my update ip/domain script.
parent
ec2f5e1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/named_setup.in
View file @
d51c8d34
...
...
@@ -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.
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment