remove useless check against format
This commit is contained in:
parent
fdeadfe3f6
commit
6bbfe7e0bd
builder/vmware/iso
|
@ -45,8 +45,8 @@ func (s *StepExport) Run(_ context.Context, state multistep.StateBag) multistep.
|
||||||
return multistep.ActionContinue
|
return multistep.ActionContinue
|
||||||
}
|
}
|
||||||
|
|
||||||
if c.RemoteType != "esx5" || s.Format == "" {
|
if c.RemoteType != "esx5" {
|
||||||
ui.Say("Skipping export of virtual machine (export is allowed only for ESXi and the format needs to be specified)...")
|
ui.Say("Skipping export of virtual machine (export is allowed only for ESXi)...")
|
||||||
return multistep.ActionContinue
|
return multistep.ActionContinue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue