From cc4a9f6b36da018db2507e68ccb17b3d24089c08 Mon Sep 17 00:00:00 2001 From: Wilken Rivera Date: Wed, 12 Apr 2023 18:00:14 +0000 Subject: [PATCH] backport of commit 98284db1dff91a5b1bb39eb965fcfc7b388f89c8 --- command/console.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/console.go b/command/console.go index b6f82c59b..327c746ae 100644 --- a/command/console.go +++ b/command/console.go @@ -82,6 +82,7 @@ Usage: packer console [options] [TEMPLATE] Options: -var 'key=value' Variable for templates, can be used multiple times. -var-file=path JSON or HCL2 file containing user variables. + -config-type Set to 'hcl2' to run in HCL2 mode when no file is passed. Defaults to json. ` return strings.TrimSpace(helpText)