From b9852c7d93fdd9aa2eea4787688afb5cebc71fcf Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 5 Sep 2020 12:04:56 +0200 Subject: Added duply configuration --- duply/.config/ovh/duplicity-dominique.sh | 33 ++++++++++++++++++++++++++++++++ duply/.config/ovh/duplicity-sebastien.sh | 33 ++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 duply/.config/ovh/duplicity-dominique.sh create mode 100644 duply/.config/ovh/duplicity-sebastien.sh (limited to 'duply/.config/ovh') 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 -- cgit v1.2.3