From 193d3e6bbdccde3d216e760a2b00654171d3194a Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Mon, 14 Oct 2019 16:20:56 +0200 Subject: [PATCH] provisioner.windows-shell: demove duplicate ExecuteCommand field --- provisioner/windows-shell/provisioner.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/provisioner/windows-shell/provisioner.go b/provisioner/windows-shell/provisioner.go index e3496fbd1..480568cc1 100644 --- a/provisioner/windows-shell/provisioner.go +++ b/provisioner/windows-shell/provisioner.go @@ -30,11 +30,6 @@ var retryableSleep = 2 * time.Second type Config struct { shell.Provisioner `mapstructure:",squash"` - // The command used to execute the script. The '{{ .Path }}' variable - // should be used to specify where the script goes, {{ .Vars }} - // can be used to inject the environment_vars into the environment. - ExecuteCommand string `mapstructure:"execute_command"` - // The timeout for retrying to start the process. Until this timeout // is reached, if the provisioner can't start a process, it retries. // This can be set high to allow for reboots.