[PATCH lorax rhel7-branch 2/7] Make sure dracut uses no-hostonly mode

Radek Vykydal rvykydal at redhat.com
Fri Apr 10 13:01:21 UTC 2015


From: "Brian C. Lane" <bcl at redhat.com>

Related: rhbz#1184021
---
 README.livemedia-creator   | 2 +-
 src/sbin/livemedia-creator | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.livemedia-creator b/README.livemedia-creator
index c3ba283..0117b7f 100644
--- a/README.livemedia-creator
+++ b/README.livemedia-creator
@@ -126,7 +126,7 @@ cat /dev/null > /dev/fstab
     there is no /etc/fstab
 
 11. Don't delete initramfs files from /boot in %post
-12. Have grub2-efi, shim, memtest86+, isomd5sum and syslinux in the package list
+12. Have dracut-config-generic, grub2-efi, shim, memtest86+, isomd5sum and syslinux in the package list
 13. Omit dracut-config-rescue from the package list "-dracut-config-rescue"
 
 One drawback to using virt-install is that it pulls the packages from
diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator
index 84c9f24..2738d30 100755
--- a/src/sbin/livemedia-creator
+++ b/src/sbin/livemedia-creator
@@ -64,7 +64,7 @@ except ImportError:
 
 # Default parameters for rebuilding initramfs, override with --dracut-args
 DRACUT_DEFAULT = ["--xz", "--add", "livenet dmsquash-live convertfs pollcdrom",
-                  "--omit", "plymouth"]
+                  "--omit", "plymouth", "--no-hostonly"]
 
 ROOT_PATH = "/mnt/sysimage/"
 RUNTIME = "images/install.img"
-- 
1.9.3



More information about the anaconda-patches mailing list