This commit is contained in:
parent
dae01492e2
commit
9ebb6d0995
@ -13,7 +13,7 @@ REMOTE_DOCKER_HOST="ssh://$PLUGIN_USER@$PLUGIN_HOST:$PLUGIN_PORT"
|
|||||||
create_networks() {
|
create_networks() {
|
||||||
for NETWORK in $PLUGIN_NETWORKS; do
|
for NETWORK in $PLUGIN_NETWORKS; do
|
||||||
docker -H "$REMOTE_DOCKER_HOST" \
|
docker -H "$REMOTE_DOCKER_HOST" \
|
||||||
network create --driver=overlay $NETWORK --scope swarm || true
|
network create --driver=overlay "$NETWORK" --scope swarm || true
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user