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
69d208f4
Commit
69d208f4
authored
Feb 27, 2006
by
Leigh B. Stoller
Browse files
Minor addition to cvssupport code in previous revision; must add a line
in the exports file to export the local filesystem to localhost.
parent
b0ad47ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/ops-install.in
View file @
69d208f4
...
...
@@ -585,6 +585,24 @@ Phase "exports", "Setting up exports", sub {
"
-maproot=root -ro
");
}
#
# Add localhost mount to proj/cvsrepos.
#
if
(
$CVSSUPPORT
)
{
my
$pdir
;
my
$dfout
=
`
df /proj | fgrep '/dev'
`;
if
(
$?
)
{
PhaseFail
("
'df /proj' failed!
");
}
if
(
$dfout
=~
/\s+([\/\w]*)$/
)
{
$pdir
=
$
1
;
}
else
{
PhaseFail
("
Could not determine where /proj is mounted!
");
}
push
(
@exports_lines
,
"
$pdir
\t
localhost -alldirs
");
}
#
# Put them in exports.head, and copy that to /etc/exports
#
...
...
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