diff --git a/builder/vsphere/iso/step_boot_command.go b/builder/vsphere/iso/step_boot_command.go index dc3b89786..876b49505 100644 --- a/builder/vsphere/iso/step_boot_command.go +++ b/builder/vsphere/iso/step_boot_command.go @@ -25,15 +25,10 @@ type bootCommandTemplateData struct { } func (c *BootConfig) Prepare(ctx *interpolate.Context) []error { - var errs []error - if c.BootWait == 0 { c.BootWait = 10 * time.Second } - - c.BootConfig.Prepare(ctx) - - return errs + return c.BootConfig.Prepare(ctx) } type StepBootCommand struct {