Skip to content

Commit

Permalink
Update tf-cleanup for this branch to keep current with PR#382 that wa…
Browse files Browse the repository at this point in the history
…s just merged (#405)
  • Loading branch information
plars committed Jan 7, 2025
1 parent d1f29aa commit a3c05e3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

AGENT=$(echo $agent_id | sed 's/-\([0-9]*\)$/\1/g')
PROVISION_TYPE="$provision_type"

# The following variables are set by the agent charm
AGENT_CONFIGS_PATH={{ agent_configs_path }}
CONFIG_DIR="{{ config_dir }}"
VIRTUAL_ENV_PATH="{{ virtual_env_path }}"

echo Cleaning up container if it exists... && docker rm -f $AGENT || /bin/true
Expand Down

0 comments on commit a3c05e3

Please sign in to comment.