From 8d7ac38ed8de6fad2205ddaa9a990001486a6117 Mon Sep 17 00:00:00 2001 From: Robert Breker Date: Tue, 22 Dec 2015 11:56:45 +0000 Subject: [PATCH] Fix stat /home/user/.docker/machine/boot2docker.iso: no such file or director Signed-off-by: Robert Breker --- xenserver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xenserver.go b/xenserver.go index 7299d61..5f1721d 100644 --- a/xenserver.go +++ b/xenserver.go @@ -185,8 +185,8 @@ func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error { d.SwarmMaster = flags.Bool("swarm-master") d.SwarmHost = flags.String("swarm-host") d.SwarmDiscovery = flags.String("swarm-discovery") - d.ISO = filepath.Join(d.StorePath, isoFilename) - d.TAR = filepath.Join(d.StorePath, tarFilename) + d.ISO = d.ResolveStorePath(isoFilename) + d.TAR = d.ResolveStorePath(tarFilename) return nil }