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
f80e3da0
Commit
f80e3da0
authored
Jan 19, 2018
by
David Johnson
Browse files
Fix minor bug in libvnode_docker causing /proj /share not to mount.
Somebody left something somewhere...
parent
4d35b730
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/linux/docker/libvnode_docker.pm
View file @
f80e3da0
#!/usr/bin/perl -T
#
# Copyright (c) 2008-201
7
University of Utah and the Flux Group.
# Copyright (c) 2008-201
8
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -2726,14 +2726,14 @@ sub vnodeCreate($$$$)
#
# Add NFS mounts.
#
my
@b
inds
=
()
;
$args
{"
HostConfig
"}{"
B
inds
"}
=
[]
;
foreach
my
$path
(
values
(
%mounts
))
{
my
$bind
=
"
${path}
:
${path}
";
if
(
$NFS_MOUNTS_READONLY
)
{
$bind
.=
"
:ro
";
}
push
(
@
{
$args
{"
HostConfig
"}{"
Binds
"}},
$bind
);
}
$args
{"
HostConfig
"}{"
Binds
"}
=
\
@binds
;
#
# Add some Emulab-specific mount points that contain information:
...
...
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