diff --git a/start_or_update.sh b/start_or_update.sh index 12d6803..3d11e8d 100755 --- a/start_or_update.sh +++ b/start_or_update.sh @@ -28,12 +28,12 @@ mkdir -p ~/build for name in docker-cron docker-reverse-proxy do sudo -E docker run --rm -e SWIFT_USERNAME=$OS_USERNAME \ - -e SWIFT_PASSWORD=$OS_PASSWORD \ - -e SWIFT_AUTHURL=$OS_AUTH_URL \ - -e SWIFT_AUTHVERSION=$OS_IDENTITY_API_VERSION \ - -e SWIFT_TENANTNAME=$OS_TENANT_NAME \ - -e SWIFT_REGIONNAME=$OS_REGION_NAME \ - -e PASSPHRASE=$PASSPHRASE \ + -e SWIFT_PASSWORD=$OS_PASSWORD \ + -e SWIFT_AUTHURL=$OS_AUTH_URL \ + -e SWIFT_AUTHVERSION=$OS_IDENTITY_API_VERSION \ + -e SWIFT_TENANTNAME=$OS_TENANT_NAME \ + -e SWIFT_REGIONNAME=$OS_REGION_NAME \ + -e PASSPHRASE=$PASSPHRASE \ --name backup-restore -v ~/build:/mnt/build --entrypoint /bin/bash duplicity:latest \ -c "duplicity restore --name bootstrap --file-to-restore ${name}.tar.gz swift://bootstrap /mnt/build/${name}.tar.gz" tar -xzf ~/build/${name}.tar.gz -C ~/build/