VMware typo

This commit is contained in:
bugbuilder 2017-08-24 22:46:35 -03:00
parent 81272d1427
commit fc4bee4598
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (pac
} }
// In some occasions the VM state is powered on and if we immediately try to mark as template // In some occasions the VM state is powered on and if we immediately try to mark as template
// (after the ESXi creates it) it will fail. If vSphere is given a few seconds this behavior doesn't reappear. // (after the ESXi creates it) it will fail. If vSphere is given a few seconds this behavior doesn't reappear.
ui.Message("Waiting 10s for VMWare vSphere to start") ui.Message("Waiting 10s for VMware vSphere to start")
time.Sleep(10 * time.Second) time.Sleep(10 * time.Second)
c, err := govmomi.NewClient(context.Background(), p.url, p.config.Insecure) c, err := govmomi.NewClient(context.Background(), p.url, p.config.Insecure)
if err != nil { if err != nil {