From 2a0fa84e51ce290a6ec09ac1deb6387f8bcae1c6 Mon Sep 17 00:00:00 2001 From: Carlos Nunez <13461447+carlosonunez@users.noreply.github.com> Date: Sat, 30 Nov 2024 15:47:04 -0600 Subject: [PATCH] add vnc_password to hcl2 spec Signed-off-by: Carlos Nunez <13461447+carlosonunez@users.noreply.github.com> --- builder/qemu/config.hcl2spec.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/qemu/config.hcl2spec.go b/builder/qemu/config.hcl2spec.go index a8592fe..ad55e38 100644 --- a/builder/qemu/config.hcl2spec.go +++ b/builder/qemu/config.hcl2spec.go @@ -137,6 +137,7 @@ type FlatConfig struct { Display *string `mapstructure:"display" required:"false" cty:"display" hcl:"display"` VNCBindAddress *string `mapstructure:"vnc_bind_address" required:"false" cty:"vnc_bind_address" hcl:"vnc_bind_address"` VNCUsePassword *bool `mapstructure:"vnc_use_password" required:"false" cty:"vnc_use_password" hcl:"vnc_use_password"` + VNCPassword *bool `mapstructure:"vnc_password" required:"false" cty:"vnc_password" hcl:"vnc_password"` VNCPortMin *int `mapstructure:"vnc_port_min" required:"false" cty:"vnc_port_min" hcl:"vnc_port_min"` VNCPortMax *int `mapstructure:"vnc_port_max" cty:"vnc_port_max" hcl:"vnc_port_max"` VMName *string `mapstructure:"vm_name" required:"false" cty:"vm_name" hcl:"vm_name"`