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
3825b5f5
Commit
3825b5f5
authored
Jun 08, 2010
by
Leigh B Stoller
Browse files
Add another convenience CNAME for inner elab, for event-server.
parent
a0c63082
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/named_setup.in
View file @
3825b5f5
...
@@ -153,6 +153,13 @@ while (my ($node_id,$pid,$eid,$vname,$erole) = $db_result->fetchrow_array()) {
...
@@ -153,6 +153,13 @@ while (my ($node_id,$pid,$eid,$vname,$erole) = $db_result->fetchrow_array()) {
(
$erole
eq
"
boss
"
||
$erole
eq
"
boss+router
"))
{
(
$erole
eq
"
boss
"
||
$erole
eq
"
boss+router
"))
{
push
@
{
$cnames
{
$node_id
}},
"
www.
$eid
.
$pid
";
push
@
{
$cnames
{
$node_id
}},
"
www.
$eid
.
$pid
";
}
}
#
# Special case for inner elab ops; add CNAME for event-server.
#
if
(
defined
(
$erole
)
&&
(
$erole
eq
"
ops
"
||
$erole
eq
"
ops+fs
"))
{
push
@
{
$cnames
{
$node_id
}},
"
event-server.
$eid
.
$pid
";
}
}
}
...
...
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