Skip to content

Commit

Permalink
mount all home dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Käser committed Aug 8, 2015
1 parent 70ee5b4 commit 364adf1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ipynbsrv/core/signals/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 364adf1

Please sign in to comment.