From 2ad8be2e5df550d91eb36dc86cf0e42bffd494cb Mon Sep 17 00:00:00 2001 From: Jared Edwards Date: Thu, 12 Dec 2024 14:24:57 -0700 Subject: [PATCH] unique job id for second reboot --- cmd/deprovision.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/deprovision.go b/cmd/deprovision.go index 17b9e6e..5e86b7b 100644 --- a/cmd/deprovision.go +++ b/cmd/deprovision.go @@ -143,7 +143,7 @@ func getDeprovisionCommand() *cobra.Command { err = k8sClient.FetchAndWaitForWorkflow(ctx, k8s.WorkflowWaitRequest{ LabelValue: strings.ReplaceAll(ip, ".", "-"), Namespace: constants.ColonyNamespace, - WaitTimeout: 300, + WaitTimeout: 480, RandomSuffix: randomSuffix, }) if err != nil { @@ -167,6 +167,8 @@ func getDeprovisionCommand() *cobra.Command { var outputBuffer2 bytes.Buffer + randomSuffix = utils.RandomString(6) + err = tmpl2.Execute(&outputBuffer2, RufioPowerCycleRequest{ IP: ip, EFIBoot: efiBoot,