Skip to content

Commit

Permalink
cluster up: use rslave propagation mode with nsenter mounter
Browse files Browse the repository at this point in the history
  • Loading branch information
csrwng committed Aug 22, 2016
1 parent b81f65c commit 7c56c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bootstrap/docker/openshift/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (h *Helper) Start(opt *StartOptions, out io.Writer) (string, error) {
env = append(env, "OPENSHIFT_CONTAINERIZED=false")
} else {
binds = append(binds, "/:/rootfs:ro")
binds = append(binds, fmt.Sprintf("%[1]s:%[1]s", opt.HostVolumesDir))
binds = append(binds, fmt.Sprintf("%[1]s:%[1]s:rslave", opt.HostVolumesDir))
}
env = append(env, opt.Environment...)
binds = append(binds, fmt.Sprintf("%s:/var/lib/origin/openshift.local.config:z", opt.HostConfigDir))
Expand Down

0 comments on commit 7c56c11

Please sign in to comment.