Browse Source

dracut.sh: add -N option for --no-hostonly

master
Harald Hoyer 13 years ago
parent
commit
472189da15
  1. 2
      dracut.8.asc
  2. 6
      dracut.sh

2
dracut.8.asc

@ -308,7 +308,7 @@ If chrooted to another root other than the real root device, use "--fstab" and @@ -308,7 +308,7 @@ If chrooted to another root other than the real root device, use "--fstab" and
provide a valid _/etc/fstab_.
====

**--no-hostonly**::
**-N, --no-hostonly**::
Disable Host-Only mode

**--fstab**::

6
dracut.sh

@ -126,7 +126,7 @@ Creates initial ramdisk images for preloading modules @@ -126,7 +126,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
-N, --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]"
@ -244,7 +244,7 @@ set -- "${@/--include/++include}" @@ -244,7 +244,7 @@ set -- "${@/--include/++include}"
set -- "${@/%-i/++include}"

TEMP=$(unset POSIXLY_CORRECT; getopt \
-o "a:m:o:d:I:k:c:L:fvqlHhM" \
-o "a:m:o:d:I:k:c:L:fvqlHhMN" \
--long kver: \
--long add: \
--long force-add: \
@ -356,7 +356,7 @@ while :; do @@ -356,7 +356,7 @@ while :; do
&& dracutbasedir="$(readlink -f ${0%/*})"
;;
-H|--hostonly) hostonly_l="yes" ;;
--no-hostonly) hostonly_l="no" ;;
-N|--no-hostonly) hostonly_l="no" ;;
--fstab) use_fstab_l="yes" ;;
-h|--help) long_usage; exit 1 ;;
-i|--include) push include_src "$2"

Loading…
Cancel
Save