diff --git a/src/pylorax/installtree.py b/src/pylorax/installtree.py index 11a23909..e0ddd9a4 100644 --- a/src/pylorax/installtree.py +++ b/src/pylorax/installtree.py @@ -552,7 +552,7 @@ class LoraxInstallTree(BaseLoraxClass): outfile = "/tmp/initramfs.img" # inside the chroot logger.debug("chrooting into installtree to create initramfs.img") subprocess.check_call(["chroot", self.root, "/sbin/dracut", - "--nomdadmconf", "--nolvmconf", + "--noprefix", "--nomdadmconf", "--nolvmconf", "--xz", "--modules", "base dmsquash-live", outfile, kernel.version]) # move output file into installtree workdir