diff --git a/Dockerfile b/Dockerfile index 0601062..ca24a48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9.2 +FROM python:3.9 SHELL ["/bin/bash", "-o", "pipefail", "-c"] diff --git a/examples/list-my-own-vms.sh b/examples/list-my-own-vms.sh index 415aa7c..fb3f701 100644 --- a/examples/list-my-own-vms.sh +++ b/examples/list-my-own-vms.sh @@ -14,9 +14,9 @@ cat << EOF Usage: ${0##*/} [-h] --site --vo List all VMs owned by the user in the given VO/site Arguments: - -h, --help, help : Display this help message and exit - --site : Site name - --vo : VO name + -h, --help, help : Display this help message and exit + --site : Site name + --vo : VO name EOF } diff --git a/fedcloudclient/sites.py b/fedcloudclient/sites.py index 0afb171..6d04d6c 100644 --- a/fedcloudclient/sites.py +++ b/fedcloudclient/sites.py @@ -27,6 +27,8 @@ "https://raw.githubusercontent.com/tdviet/fedcloudclient/master/config/sites.yaml" ) +# ALL FILES in this site-config directory WILL BE DELETED at every execution +# of "fedcloud site save-config" command. Do not change it to a common directory __LOCAL_CONFIG_DIR = ".config/fedcloud/site-config/" __site_config_data: List[dict] = []