some teleport / vast-lab improvements

This commit is contained in:
Lockszmith (VAST@MacBook) 2025-05-01 09:21:51 -04:00
parent c92c86c8c4
commit 4499e4a78d
3 changed files with 12 additions and 1 deletions

View file

@ -72,6 +72,7 @@ usage-get() {
'' \
'Commands:' \
' s3-releases Get release names available on s3' \
' s3-callhome Get callhome list available on s3' \
'' \
''
exit 2
@ -199,6 +200,11 @@ do_get_s3-releases() {
| sed -Ee 's/^[[:digit:]]{3}//; s/.zzz$//'
}
do_get_s3-callhome() {
# Get the list of callhome bundles
aws s3 ls --human-readable s3://vast-callhomebundle/
}
do_get() {
local DO_CMD='usage-get'
if [[ $# -gt 0 ]] && declare -f "do_get_${1}" > /dev/null; then