From 4499e4a78d822f7df1aa738cf1d9ee64f915fe73 Mon Sep 17 00:00:00 2001 From: "Lockszmith (VAST@MacBook)" Date: Thu, 1 May 2025 09:21:51 -0400 Subject: [PATCH] some teleport / vast-lab improvements --- .../private_dot_config/zellij/layouts/teleport.kdl | 2 +- .../_home.macos/private_dot_local/bin/executable_vast-lab | 6 ++++++ .../_home/private_dot_config/television/vast_channels.toml | 5 +++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/chezmoi.roots/_home.macos/private_dot_config/zellij/layouts/teleport.kdl b/chezmoi.roots/_home.macos/private_dot_config/zellij/layouts/teleport.kdl index b4800c3..c3c678e 100644 --- a/chezmoi.roots/_home.macos/private_dot_config/zellij/layouts/teleport.kdl +++ b/chezmoi.roots/_home.macos/private_dot_config/zellij/layouts/teleport.kdl @@ -6,7 +6,7 @@ layout { } pane command="zsh" cwd="/Users/gal.szkolnik" size="55%" { args "-ic" "vast-teleport launch --from-zellij" - // start_suspended true + start_suspended true } pane size=1 borderless=true { plugin location="zellij:status-bar" diff --git a/chezmoi.roots/_home.macos/private_dot_local/bin/executable_vast-lab b/chezmoi.roots/_home.macos/private_dot_local/bin/executable_vast-lab index ed8da78..bd729ca 100644 --- a/chezmoi.roots/_home.macos/private_dot_local/bin/executable_vast-lab +++ b/chezmoi.roots/_home.macos/private_dot_local/bin/executable_vast-lab @@ -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 diff --git a/chezmoi.roots/_home/private_dot_config/television/vast_channels.toml b/chezmoi.roots/_home/private_dot_config/television/vast_channels.toml index 3c8bca5..9122da6 100644 --- a/chezmoi.roots/_home/private_dot_config/television/vast_channels.toml +++ b/chezmoi.roots/_home/private_dot_config/television/vast_channels.toml @@ -3,3 +3,8 @@ name = "vast-s3-releases" source_command = "vast-lab get s3-releases" preview_command = "aws s3 ls s3://vastdata-releases/release_bundles/service-packs/{0}/" + +[[cable_channel]] +name = "vast-s3-callhome" +source_command = "vast-lab get s3-callhome" +preview_command = "aws s3 ls s3://vast-callhomebundle/{0}/"