...
| Code Block |
|---|
#! /usr/bin/env bash for var in $(env | sed -n 's/^\(OS.*\)=.*/\1/p'); do unset "$var"; doneexport OS_AUTH_TYPE=v3applicationcredential export OS_AUTH_URL=https://keystone.cloudferro.com:5000/v3 export OS_INTERFACE=publicapi.r1.cloud.eumetsat.int export OS_IDENTITY_API_VERSION=3 export OS_REGION_USERNAMENAME="<username>ECIS-R1" export OS_REGION_NAME="WAW3-1"INTERFACE=public export OS_PROJECT_IDUSERNAME="<username>"<project_id> export OS_PROJECTUSER_DOMAIN_NAME="<project<domain_name>" export OS_PROJECT_DOMAIN_ID="<domain_id>" export OS_PASSWORD="<password>" export OS_CLIENTAPPLICATION_CREDENTIAL_ID=openstack export OS_CLIENT_SECRET="<client_secret>"<app_credential_id>" export OS_PROTOCOL=openid export OS_IDENTITY_PROVIDER=eumetsat_provider export OS_AUTH_TYPE=v3oidcpassword export OS_DISCOVERY_ENDPOINT="https://identity.cloudferro.com/auth/realms/Eumetsat-elasticity/.well-known/openid-configurationAPPLICATION_CREDENTIAL_SECRET="<app_credential_secret>" echo "Backing up VM" sleep 5 openstack volume snapshot create --force --volume 49f0613f-ef9b-4d91-b963-e958579801ed TestVM_snapshot |
...