diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2020-09-05 12:04:56 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2020-09-05 12:10:13 +0200 |
commit | b9852c7d93fdd9aa2eea4787688afb5cebc71fcf (patch) | |
tree | 9e382e6d2dad73ed17e987729663b9ba853f804a /duply/.config/ovh | |
parent | 8ef9678d0a0f7b30a3c6afca6af70aa505f1a51f (diff) |
Added duply configuration
Diffstat (limited to 'duply/.config/ovh')
-rw-r--r-- | duply/.config/ovh/duplicity-dominique.sh | 33 | ||||
-rw-r--r-- | duply/.config/ovh/duplicity-sebastien.sh | 33 |
2 files changed, 66 insertions, 0 deletions
diff --git a/duply/.config/ovh/duplicity-dominique.sh b/duply/.config/ovh/duplicity-dominique.sh new file mode 100644 index 0000000..9216a84 --- /dev/null +++ b/duply/.config/ovh/duplicity-dominique.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +# To use an Openstack cloud you need to authenticate against keystone, which +# returns a **Token** and **Service Catalog**. The catalog contains the +# endpoint for all services the user/tenant has access to - including nova, +# glance, keystone, swift. +# +export OS_AUTH_URL=https://auth.cloud.ovh.net/v3/ +export OS_IDENTITY_API_VERSION=3 + +export OS_USER_DOMAIN_NAME=${OS_USER_DOMAIN_NAME:-"Default"} +export OS_PROJECT_DOMAIN_NAME=${OS_PROJECT_DOMAIN_NAME:-"Default"} + + +# With the addition of Keystone we have standardized on the term **tenant** +# as the entity that owns the resources. +export OS_TENANT_ID=32e0c3f386b948c4bfe4e32432de0840 +export OS_TENANT_NAME="2791115820090485" + +# In addition to the owning entity (tenant), openstack stores the entity +# performing the action as the **user**. +export OS_USERNAME="user-nrxQPP2sUWt8" + +# With Keystone you pass the keystone password. +echo "Please enter your OpenStack Password: " +read -sr OS_PASSWORD_INPUT +export OS_PASSWORD=$OS_PASSWORD_INPUT + +# If your configuration has multiple regions, we set that information here. +# OS_REGION_NAME is optional and only valid in certain environments. +export OS_REGION_NAME="SBG" +# Don't leave a blank variable, unset it if it was empty +if [ -z "$OS_REGION_NAME" ]; then unset OS_REGION_NAME; fi
\ No newline at end of file diff --git a/duply/.config/ovh/duplicity-sebastien.sh b/duply/.config/ovh/duplicity-sebastien.sh new file mode 100644 index 0000000..98dad7d --- /dev/null +++ b/duply/.config/ovh/duplicity-sebastien.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +# To use an Openstack cloud you need to authenticate against keystone, which +# returns a **Token** and **Service Catalog**. The catalog contains the +# endpoint for all services the user/tenant has access to - including nova, +# glance, keystone, swift. +# +export OS_AUTH_URL=https://auth.cloud.ovh.net/v3/ +export OS_IDENTITY_API_VERSION=3 + +export OS_USER_DOMAIN_NAME=${OS_USER_DOMAIN_NAME:-"Default"} +export OS_PROJECT_DOMAIN_NAME=${OS_PROJECT_DOMAIN_NAME:-"Default"} + + +# With the addition of Keystone we have standardized on the term **tenant** +# as the entity that owns the resources. +export OS_TENANT_ID=32e0c3f386b948c4bfe4e32432de0840 +export OS_TENANT_NAME="2791115820090485" + +# In addition to the owning entity (tenant), openstack stores the entity +# performing the action as the **user**. +export OS_USERNAME="user-YMYCthGKGFhX" + +# With Keystone you pass the keystone password. +echo "Please enter your OpenStack Password: " +read -sr OS_PASSWORD_INPUT +export OS_PASSWORD=$OS_PASSWORD_INPUT + +# If your configuration has multiple regions, we set that information here. +# OS_REGION_NAME is optional and only valid in certain environments. +export OS_REGION_NAME="GRA" +# Don't leave a blank variable, unset it if it was empty +if [ -z "$OS_REGION_NAME" ]; then unset OS_REGION_NAME; fi
\ No newline at end of file |