Browse Source

Fix stat /home/user/.docker/machine/boot2docker.iso: no such file or director

Signed-off-by: Robert Breker <robert.breker@citrix.com>
getsshkeypath_pr
Robert Breker 9 years ago
parent
commit
8d7ac38ed8
  1. 4
      xenserver.go

4
xenserver.go

@ -185,8 +185,8 @@ func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error {
d.SwarmMaster = flags.Bool("swarm-master") d.SwarmMaster = flags.Bool("swarm-master")
d.SwarmHost = flags.String("swarm-host") d.SwarmHost = flags.String("swarm-host")
d.SwarmDiscovery = flags.String("swarm-discovery") d.SwarmDiscovery = flags.String("swarm-discovery")
d.ISO = filepath.Join(d.StorePath, isoFilename) d.ISO = d.ResolveStorePath(isoFilename)
d.TAR = filepath.Join(d.StorePath, tarFilename) d.TAR = d.ResolveStorePath(tarFilename)
return nil return nil
} }

Loading…
Cancel
Save