From ed79f49c5cb6652ad305522962cf90c3465794a2 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sat, 22 Feb 2020 22:28:40 +0100 Subject: [PATCH] Auto-creation of volumes mountpoint. --- start_or_update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/start_or_update.sh b/start_or_update.sh index ed11c68..4114c8b 100755 --- a/start_or_update.sh +++ b/start_or_update.sh @@ -12,6 +12,7 @@ source ~/openrc.sh INSTANCE=$(~/env_py3/bin/openstack server show -c id --format value $(hostname)) for VOLUME in reverse-proxy_conf reverse-proxy_conf_enabled reverse-proxy_letsencrypt do + mkdir -p /mnt/volumes/${VOLUME} if ! mountpoint -q /mnt/volumes/${VOLUME} then VOLUME_ID=$(/home/yohan/env_py3/bin/openstack volume show ${VOLUME} -c id --format value)