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
1688857c
Commit
1688857c
authored
Aug 31, 2015
by
Leigh B Stoller
Browse files
Do not use hardwired port for mountd in ELABINELAB.
parent
9a8aaa60
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/phases/ops/rcconf
View file @
1688857c
...
...
@@ -23,11 +23,16 @@ sub Install($$$)
qq|nfs_server_flags="-u -t -n 16"|,
qq|syslogd_flags=""|);
# Do not hardwire the mountd port in elabinelab, no firewall issues.
my $mountd_port = "";
if (!$ELABINELAB) {
$mountd_port = "-p 900";
}
# No more NFS races as of 9.2!
if ($FBSD_MAJOR > 9 || ($FBSD_MAJOR == 9 && $FBSD_MINOR > 1)) {
push(@adds, qq|mountd_flags="-r
-p 900
-S"|);
push(@adds, qq|mountd_flags="-r
$mountd_port
-S"|);
} else {
push(@adds, qq|mountd_flags="-r
-p 900
"|);
push(@adds, qq|mountd_flags="-r
$mountd_port
"|);
}
if (ISFS($server)) {
...
...
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