From: "Brian C. Lane" <bcl@xxxxxxxxxx> >From Harald Hoyer <harald@xxxxxxxxxx>: pollcdrom is used to poll for the install medium. A lot of CDROM drives are not polled by the kernel correctly, so we have to actively poll for the medium. --- src/pylorax/__init__.py | 2 +- src/sbin/livemedia-creator | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index aeb1b02..39293dc 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 0aa7dfd..453343a 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): -- 1.7.7.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list