summaryrefslogtreecommitdiffstats
path: root/run/devel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run/devel.sh')
-rw-r--r--run/devel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run/devel.sh b/run/devel.sh
index 637552a..fef44e0 100644
--- a/run/devel.sh
+++ b/run/devel.sh
@@ -8,4 +8,4 @@ if [ ! -d ../repos ]; then
buildah unshare bash ../build/extract.sh ${image}
fi
-podman run --name "ccpi-devel" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p $ssh_port:2222/tcp $volumes localhost/${image} bash -c "bash /root/setup/provision.sh; bash"
+podman run --name "ccpi-devel" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p $ssh_port:2222/tcp $volumes ${image} bash -c "[ -f /usr/bin/supervisord ] && python /usr/bin/supervisord; bash /root/setup/provision.sh; bash"