From 0319abbb58943eaa20f02dccf6f39cf21273bcf5 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 13 Aug 2013 17:11:42 -0700 Subject: [PATCH] Make sure dracut uses no-hostonly mode --- README.livemedia-creator | 3 ++- src/sbin/livemedia-creator | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.livemedia-creator b/README.livemedia-creator index 76280a13..7462499f 100644 --- a/README.livemedia-creator +++ b/README.livemedia-creator @@ -111,7 +111,8 @@ passwd -d root > /dev/null cat /dev/null > /dev/fstab 11. Don't delete initramfs files from /boot in %post -12. Have grub-efi, memtest86+ and syslinux in the package list +12. Have dracut-config-generic, grub-efi, memtest86+ 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 a0a994b4..92394457 100755 --- a/src/sbin/livemedia-creator +++ b/src/sbin/livemedia-creator @@ -62,7 +62,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"