]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut.sh: add "--no-hostonly" option
authorHarald Hoyer <harald@redhat.com>
Mon, 26 Mar 2012 12:30:39 +0000 (14:30 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 26 Mar 2012 12:30:39 +0000 (14:30 +0200)
dracut.8.asc
dracut.sh

index 10cccc01a6758fd06a7d18ae88b71688903e2ace..26072a9f6159b1ea887a2cf2e3b7de56673c74e5 100644 (file)
@@ -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_.
 
index 1bf8ad97a266f0605dd18deba562456a5413f3a0..9b667539fa6dd572840fce8575b8bede68adcf7d 100755 (executable)
--- 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"