Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
eb41c014
Commit
eb41c014
authored
Dec 10, 2012
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More geni rack changes.
parent
4607263f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
clientside/tmcc/common/config/rc.mkelab
clientside/tmcc/common/config/rc.mkelab
+12
-3
No files found.
clientside/tmcc/common/config/rc.mkelab
View file @
eb41c014
...
...
@@ -1728,12 +1728,14 @@ sub SetupOpsNode($)
if
(
$emulabconfig
{"
CONFIG_GENIRACK
"})
{
my
$where
=
"
genirack-ops
\@
flux.utah.edu
";
if
(
exists
(
$emulabconfig
{"
GENIRACK_TBOPS
"}))
{
$where
.=
"
\n
"
.
$emulabconfig
{"
GENIRACK_TBOPS
"};
$where
=
join
("
\n
",
split
("
,
",
$emulabconfig
{"
GENIRACK_TBOPS
"}));
}
if
(
$list
eq
"
testbed-logs
"
||
$list
eq
"
testbed-audit
")
{
if
(
exists
(
$emulabconfig
{"
GENIRACK_TBLOGS
"}))
{
$where
=
$emulabconfig
{"
GENIRACK_TBLOGS
"};
$where
=
join
("
\n
",
split
("
,
",
$emulabconfig
{"
GENIRACK_TBLOGS
"}));
}
else
{
$where
=
"
genirack-logs
\@
flux.utah.edu
";
...
...
@@ -1741,7 +1743,8 @@ sub SetupOpsNode($)
}
elsif
(
$list
eq
"
testbed-stated
")
{
if
(
exists
(
$emulabconfig
{"
GENIRACK_TBSTATED
"}))
{
$where
=
$emulabconfig
{"
GENIRACK_TBSTATED
"};
$where
=
join
("
\n
",
split
("
,
",
$emulabconfig
{"
GENIRACK_TBSTATED
"}));
}
else
{
$where
=
"
genirack-stated
\@
flux.utah.edu
";
...
...
@@ -2939,6 +2942,8 @@ sub CreateDefsFile($)
my
$named_forwarders
=
(
defined
(
$emulabconfig
{"
NAMED_FORWARDERS
"})
?
$emulabconfig
{"
NAMED_FORWARDERS
"}
:
$outer_bossip
);
my
$named_alsonotify
=
(
defined
(
$emulabconfig
{"
NAMED_ALSONOTIFY
"})
?
$emulabconfig
{"
NAMED_ALSONOTIFY
"}
:
"");
#
# The control network netmask differs if using a single control network.
...
...
@@ -3103,6 +3108,10 @@ sub CreateDefsFile($)
print
OUTDEFS
"
NAMED_FORWARDERS=
\"
${named_forwarders}
\"\n
";
last
SWITCH
;
};
/^NAMED_ALSONOTIFY$/
&&
do
{
print
OUTDEFS
"
NAMED_ALSONOTIFY=
\"
${named_alsonotify}
\"\n
";
last
SWITCH
;
};
/^DHCPD_DYNRANGE$/
&&
do
{
print
OUTDEFS
"
DHCPD_DYNRANGE=
"
.
"
\"
$dynrange_low
$dynrange_high
\"\n
";
...
...
Write
Preview
Markdown
is supported
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