From: Harald Hoyer Date: Mon, 26 Mar 2012 12:30:39 +0000 (+0200) Subject: dracut.sh: add "--no-hostonly" option X-Git-Tag: 018~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb74b382477d9e0c12e452f78cbc6392bc88d366;p=thirdparty%2Fdracut.git dracut.sh: add "--no-hostonly" option --- diff --git a/dracut.8.asc b/dracut.8.asc index 10cccc01a..26072a9f6 100644 --- a/dracut.8.asc +++ b/dracut.8.asc @@ -235,6 +235,9 @@ If chrooted to another root other than the real root device, use "--fstab" and provide a valid _/etc/fstab_. ==== +**--no-hostonly**:: + Disable Host-Only mode + **--fstab**:: Use _/etc/fstab_ instead of _/proc/self/mountinfo_. diff --git a/dracut.sh b/dracut.sh index 1bf8ad97a..9b667539f 100755 --- a/dracut.sh +++ b/dracut.sh @@ -86,6 +86,7 @@ Creates initial ramdisk images for preloading modules Useful when running dracut from a git checkout. -H, --hostonly Host-Only mode: Install only what is needed for booting the local host instead of a generic host. + --no-hostonly Disables Host-Only mode --fstab Use /etc/fstab to determine the root device. --add-fstab [FILE] Add file to the initramfs fstab --mount "[DEV] [MP] [FSTYPE] [FSOPTS]" @@ -245,6 +246,7 @@ while (($# > 0)); do -q|--quiet) ((verbosity_mod_l--));; -l|--local) allowlocal="yes" ;; -H|--hostonly) hostonly_l="yes" ;; + --no-hostonly) hostonly_l="no" ;; --fstab) use_fstab_l="yes" ;; -h|--help) usage; exit 1 ;; -i|--include) push include_src "$2"