diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 25cccb34..72a08f85 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -274,7 +274,7 @@ class Lorax(BaseLoraxClass): domacboot=domacboot, templatedir=templatedir) logger.info("rebuilding initramfs images") - dracut_args=["--xz", "--add", "anaconda", "--omit", "plymouth", + dracut_args=["--xz", "--add", "anaconda pollcdrom", "--omit", "plymouth", "--install", "/.buildstamp"] treebuilder.rebuild_initrds(add_args=dracut_args) diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator index 0aa7dfd6..453343a0 100755 --- a/src/sbin/livemedia-creator +++ b/src/sbin/livemedia-creator @@ -61,8 +61,8 @@ except ImportError: libvirt = None # Default parameters for rebuilding initramfs, override with --dracut-args -DRACUT_DEFAULT = ["--xz", "--add", "livenet", "--add", "dmsquash-live", - "--add", "convertfs", "--omit", "plymouth"] +DRACUT_DEFAULT = ["--xz", "--add", "livenet dmsquash-live convertfs pollcdrom", + "--omit", "plymouth"] class LogRequestHandler(SocketServer.BaseRequestHandler):