Skip to content
GitLab
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
1475dd48
Commit
1475dd48
authored
Jun 17, 2015
by
Mike Hibler
Browse files
Old change: don't enable nfsd on boss unless it is the fileserver
parent
522d6b92
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/phases/boss/rcconf
View file @
1475dd48
...
...
@@ -23,9 +23,6 @@ sub Install($$$)
Phase "rc.conf", "Adding testbed content to $RCCONF", sub {
DoneIfEdited($RCCONF);
my @strings = (qq|rpcbind_enable="YES"|,
qq|mountd_enable="YES"|,
qq|nfs_server_enable="YES"|,
qq|nfs_server_flags="-u -t -n 16"|,
qq|nfs_client_enable="YES"|,
qq|inetd_enable="YES"|,
qq|inetd_flags="-wW -R 0"|,
...
...
@@ -40,6 +37,11 @@ sub Install($$$)
# OPSVM
if (ISFS($server)) {
# don't enable NFS server unless we are the fileserver
push(@strings, qq|mountd_enable="YES"|);
push(@strings, qq|nfs_server_enable="YES"|);
push(@strings, qq|nfs_server_flags="-u -t -n 16"|);
if ($WINSUPPORT) {
if ($FBSD_MAJOR > 8 || ($FBSD_MAJOR == 8 && $FBSD_MINOR > 2)) {
push(@strings, qq|samba_enable="YES"|);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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