config: don't mess with image

We have "9p" special value, also GCE images are not local paths.
Don't mess with it.
This commit is contained in:
Dmitry Vyukov 2017-01-20 15:01:53 +01:00
parent 758a06c51f
commit 0298b1afb6

View File

@ -180,9 +180,6 @@ func parse(data []byte) (*Config, map[int]bool, error) {
}
return path
}
if cfg.Image != "9p" {
cfg.Image = abs(cfg.Image)
}
cfg.Workdir = abs(cfg.Workdir)
cfg.Kernel = abs(cfg.Kernel)
cfg.Vmlinux = abs(cfg.Vmlinux)