File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
cmd/talosctl/cmd/mgmt/debug Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
1111
1212// Cmd represents the debug command.
1313var 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 : `` ,
Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments