# HG changeset patch
# User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr>
# Date 1504101403 -7200
#      Wed Aug 30 15:56:43 2017 +0200
# Node ID 5322173a811d58d7755b9da58f1dc2f811e9bfbd
# Parent  425ed2d0d7dee881731bd4d56dc3aa04ad8e5181
:ambulance: add line that should have stayed there

diff --git a/docker_dev_start.py b/docker_dev_start.py
--- a/docker_dev_start.py
+++ b/docker_dev_start.py
@@ -293,6 +293,7 @@
         logging.debug('Using data volume %s', data_volume_name)
         volume = getVolume(docker_client, data_volume_name)
         # make sure the permission in the volume are correct
+        mount_opts = 'source={},target=/mnt/data'.format(data_volume_name)
         # TODO replace by something cleaner if possible
         call(['docker', 'run', '--rm', '--mount', mount_opts, 'busybox', 'chmod', '777', '/mnt/data'])
         binds.append('{}:/mnt/data'.format(data_volume_name))