diff --git a/template/pkgs/utils/triton-docker.env.sh b/template/pkgs/utils/triton-docker.env.sh index 9b38e46..285b533 100644 --- a/template/pkgs/utils/triton-docker.env.sh +++ b/template/pkgs/utils/triton-docker.env.sh @@ -13,10 +13,12 @@ triton_account_uuid="$(triton account get --json | json id)" if env | grep -q "SDC_URL=https://api.greenbaum.cloud"; then export TRITON_CNS_SEARCH_DOMAIN_PUBLIC="${triton_account_uuid}.cgn-1.greenbaum.zone" export TRITON_CNS_SEARCH_DOMAIN_PRIVATE="${triton_account_uuid}.cgn-1.int.greenbaum.zone" + export TRITON_DC=cgn-1 fi if env | grep -q "SDC_URL=https://lev-1.api.greenbaum.cloud"; then export TRITON_CNS_SEARCH_DOMAIN_PUBLIC="${triton_account_uuid}.lev-1.greenbaum.zone" export TRITON_CNS_SEARCH_DOMAIN_PRIVATE="${triton_account_uuid}.lev-1.int.greenbaum.zone" + export TRITON_DC=lev-1 fi export MANTA_URL=https://eu-central.manta.greenbaum.cloud diff --git a/template/tritonshell.nix b/template/tritonshell.nix index 707fb5b..9280325 100644 --- a/template/tritonshell.nix +++ b/template/tritonshell.nix @@ -22,7 +22,7 @@ pkgs.devshell.mkShell { fi ''; PS1.text = '' - PS1='\[\033[38;5;202m\][$TRITON_PROFILE@tritonshell]$(rel_root)\$ \[\033[0m\]' + PS1='\[\033[38;5;202m\][$SDC_ACCOUNT@$TRITON_DC]$(rel_root)\$ \[\033[0m\]' ''; };