diff --git a/src/pylorax/images.py b/src/pylorax/images.py index 455fe57e..ee8ffe8a 100644 --- a/src/pylorax/images.py +++ b/src/pylorax/images.py @@ -329,11 +329,10 @@ class PPC(object): "-sysid", "PPC", "-V", '"PBOOT"', "-volset", '"%s"' % self.version, "-volset-size", "1", "-volset-seqno", "1"] + macboot + \ - ["-map", MAPPING, "-magic", MAGIC, + ["-map", joinpaths(self.installtree.root, MAPPING), + "-magic", joinpaths(self.installtree.root, MAGIC), "-no-desktop", "-allow-multidot", "-graft-points", isopathdir] - logger.debug("running: %s" % cmd) - p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE) p.wait()