Skip to content

Commit d90c775

Browse files
committed
chore: rename internal talosctl debug air-gapped
This command was always hidden, rename it to `debug-tool` to free up the `talosctl debug` for #12932. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
1 parent 2165280 commit d90c775

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cmd/talosctl/cmd/mgmt/debug/debug.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
// Cmd represents the debug command.
1313
var Cmd = &cobra.Command{
14-
Use: "debug",
14+
Use: "debug-tool",
1515
Short: "A collection of commands to facilitate debugging of Talos.",
1616
Hidden: true,
1717
Long: ``,

hack/test/e2e-qemu.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,23 +275,23 @@ case "${WITH_AIRGAPPED:-false}" in
275275
QEMU_FLAGS+=("--image-cache-tls-key-file=${TMP}/image-cache-tls.key")
276276
;;
277277
http-proxy)
278-
"${TALOSCTL}" debug air-gapped --advertised-address 172.20.1.1 > /tmp/airgapped.log 2>&1 &
278+
"${TALOSCTL}" debug-tool air-gapped --advertised-address 172.20.1.1 > /tmp/airgapped.log 2>&1 &
279279
sleep 5 # wait for the air-gapped server to start
280280
cat air-gapped-patch.yaml
281281
mv air-gapped-patch.yaml "${TMP}/air-gapped-patch.yaml"
282282

283283
QEMU_FLAGS+=("--config-patch=@${TMP}/air-gapped-patch.yaml")
284284
;;
285285
secure-http-proxy)
286-
"${TALOSCTL}" debug air-gapped --advertised-address 172.20.1.1 --use-secure-proxy > /tmp/airgapped-secure.log 2>&1 &
286+
"${TALOSCTL}" debug-tool air-gapped --advertised-address 172.20.1.1 --use-secure-proxy > /tmp/airgapped-secure.log 2>&1 &
287287
sleep 5 # wait for the air-gapped server to start
288288
cat air-gapped-patch.yaml
289289
mv air-gapped-patch.yaml "${TMP}/air-gapped-patch.yaml"
290290

291291
QEMU_FLAGS+=("--config-patch=@${TMP}/air-gapped-patch.yaml")
292292
;;
293293
https-reverse-proxy)
294-
"${TALOSCTL}" debug air-gapped --advertised-address 172.20.1.1 --inject-http-proxy=false --https-reverse-proxy-target=https://registry.dev.siderolabs.io > /tmp/airgapped-reverse-proxy.log 2>&1 &
294+
"${TALOSCTL}" debug-tool air-gapped --advertised-address 172.20.1.1 --inject-http-proxy=false --https-reverse-proxy-target=https://registry.dev.siderolabs.io > /tmp/airgapped-reverse-proxy.log 2>&1 &
295295
sleep 5 # wait for the air-gapped server to start
296296
cat air-gapped-patch.yaml
297297
mv air-gapped-patch.yaml "${TMP}/air-gapped-patch.yaml"

0 commit comments

Comments
 (0)