From 364adf16abfea270c770bcfdb5b65359720966f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20Ka=CC=88ser?= Date: Sat, 8 Aug 2015 21:59:21 +0200 Subject: [PATCH] mount all home dirs --- ipynbsrv/core/signals/containers.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ipynbsrv/core/signals/containers.py b/ipynbsrv/core/signals/containers.py index 3926ed6..f85d255 100644 --- a/ipynbsrv/core/signals/containers.py +++ b/ipynbsrv/core/signals/containers.py @@ -42,11 +42,8 @@ def create_on_server(sender, container, **kwargs): ports, [ { # home directory - ContainerBackend.VOLUME_KEY_SOURCE: path.join( - path.join(storage_backend.base_dir, settings.STORAGE_DIR_HOME), - container.owner.backend_pk - ), - ContainerBackend.VOLUME_KEY_TARGET: path.join('/home', 'user') + ContainerBackend.VOLUME_KEY_SOURCE: path.join(storage_backend.base_dir, settings.STORAGE_DIR_HOME), + ContainerBackend.VOLUME_KEY_TARGET: '/home' }, { # public directory ContainerBackend.VOLUME_KEY_SOURCE: path.join(storage_backend.base_dir, settings.STORAGE_DIR_PUBLIC),