From 98421d142ec6a784e0403140a6c3976c25d885f0 Mon Sep 17 00:00:00 2001 From: Ben Morrow Date: Tue, 8 Oct 2024 09:23:18 +0100 Subject: [PATCH] We run with stdin from a pipe This means prompts need to go directly to /dev/tty. --- acs-service-setup/dumps/clusters.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/acs-service-setup/dumps/clusters.yaml b/acs-service-setup/dumps/clusters.yaml index 1734af79..b29391e9 100644 --- a/acs-service-setup/dumps/clusters.yaml +++ b/acs-service-setup/dumps/clusters.yaml @@ -160,7 +160,8 @@ configs: fi echo "Deploying to edge cluster:" kubectl get nodes - read -p "Press Return to continue or Ctrl-C to abort:" tmp + read -p "Press Return to continue or Ctrl-C to abort:" \ + tmp