|
@ -75,12 +75,16 @@ DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )" |
|
|
|
|
|
|
|
|
Wdir=$(pwd) |
|
|
Wdir=$(pwd) |
|
|
|
|
|
|
|
|
|
|
|
if [ -d $Wdir/.env ]; then |
|
|
|
|
|
echo "" |
|
|
|
|
|
else |
|
|
cat << EOF > $Wdir/.env |
|
|
cat << EOF > $Wdir/.env |
|
|
REGISTRY_ADDR=localhost |
|
|
REGISTRY_ADDR=localhost |
|
|
REGISTRY_PORT=5000 |
|
|
REGISTRY_PORT=5000 |
|
|
IMAGE_NAME=$HYBRID_NETWORK |
|
|
IMAGE_NAME=$HYBRID_NETWORK |
|
|
SSH_PORT= |
|
|
SSH_PORT= |
|
|
EOF |
|
|
EOF |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
. $Wdir/.env |
|
|
. $Wdir/.env |
|
|
|
|
|
|
|
|