diff --git a/builder/hyperv/common/run_config.go b/builder/hyperv/common/run_config.go index 3ac72471c..35cdb3b5d 100644 --- a/builder/hyperv/common/run_config.go +++ b/builder/hyperv/common/run_config.go @@ -7,7 +7,6 @@ import ( ) type RunConfig struct { - Headless bool `mapstructure:"headless"` RawBootWait string `mapstructure:"boot_wait"` BootWait time.Duration `` diff --git a/builder/hyperv/common/step_run.go b/builder/hyperv/common/step_run.go index c02714692..d3e3b439a 100644 --- a/builder/hyperv/common/step_run.go +++ b/builder/hyperv/common/step_run.go @@ -13,7 +13,6 @@ import ( type StepRun struct { BootWait time.Duration - Headless bool vmName string } diff --git a/builder/hyperv/iso/builder.go b/builder/hyperv/iso/builder.go index e81f498e0..3357dd087 100644 --- a/builder/hyperv/iso/builder.go +++ b/builder/hyperv/iso/builder.go @@ -364,7 +364,6 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe &hypervcommon.StepRun{ BootWait: b.config.BootWait, - Headless: b.config.Headless, }, &hypervcommon.StepTypeBootCommand{