|
@ -320,9 +320,11 @@ func (d *Driver) Create() error { |
|
|
|
|
|
|
|
|
d.setMachineNameIfNotSet() |
|
|
d.setMachineNameIfNotSet() |
|
|
|
|
|
|
|
|
b2dutils := mcnutils.NewB2dUtils(d.StorePath) |
|
|
if d.osTemplateLabelName == "Other install media" { |
|
|
if err := b2dutils.CopyIsoToMachineDir(d.Boot2DockerURL, d.MachineName); err != nil { |
|
|
b2dutils := mcnutils.NewB2dUtils(d.StorePath) |
|
|
return err |
|
|
if err := b2dutils.CopyIsoToMachineDir(d.Boot2DockerURL, d.MachineName); err != nil { |
|
|
|
|
|
return err |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
log.Infof("Logging into XenServer %s...", d.Server) |
|
|
log.Infof("Logging into XenServer %s...", d.Server) |
|
|