diff --git a/src/pylorax/imgutils.py b/src/pylorax/imgutils.py index 6ebf2ed8..7d10f9e9 100644 --- a/src/pylorax/imgutils.py +++ b/src/pylorax/imgutils.py @@ -503,7 +503,7 @@ class DracutChroot(object): # cleanup bind mounts for _, d in self.bind: - umount(self.root + d) + umount(self.root + d, lazy=True, maxretry=10, retrysleep=5) def Run(self, args): runcmd(["dracut"] + args, root=self.root)