(simatec) Fix Network on Update

This commit is contained in:
simatec 2024-07-05 23:07:40 +02:00
parent 624a46ccc8
commit d7ac8c3fb7
2 changed files with 11 additions and 0 deletions

View file

@ -154,6 +154,9 @@ To leave the container on the console you have to execute 2x `exit`.
## Changelog ## Changelog
### 0.9.7 (14.06.2024)
* (simatec) Fix Network on Update
### 0.9.7 (14.06.2024) ### 0.9.7 (14.06.2024)
* (simatec) Release 0.9.7 * (simatec) Release 0.9.7

View file

@ -215,6 +215,14 @@ else
docker-compose down docker-compose down
fi fi
# create Network
if docker network inspect pilernet > /dev/null 2>&1; then
echo "Network pilernet is available"
else
docker network create pilernet
echo "Network pilernet created"
fi
# Backup Config # Backup Config
if [ ! -d $installPth/backup ]; then if [ ! -d $installPth/backup ]; then
mkdir -p $installPth/backup mkdir -p $installPth/backup