From 95cc24929c62c9b4cf79401c8425f3fc0d0a322c Mon Sep 17 00:00:00 2001 From: Chris Doyle Date: Mon, 12 Jan 2026 19:08:51 +0000 Subject: [PATCH] Updates the AUTO_TFVARS_COUNTER to increment in decimal not octal numbers --- image/actions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/actions.sh b/image/actions.sh index dc9bbd9a..080a3ca9 100644 --- a/image/actions.sh +++ b/image/actions.sh @@ -423,7 +423,7 @@ function create-auto-tfvars() { debug_log "Creating autoloading tfvars file for $file_path: $link_name" cp "$file_path" "$INPUT_PATH/$link_name" - AUTO_TFVARS_COUNTER=$(printf "%02d\n" "$((AUTO_TFVARS_COUNTER + 1))") + AUTO_TFVARS_COUNTER=$(printf "%02d\n" "$((10#${AUTO_TFVARS_COUNTER} + 1))") done fi