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

master
Harald Hoyer 2012-07-21 13:03:56 +02:00
parent e5ec81a354
commit 472189da15
2 changed files with 4 additions and 4 deletions

View File

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


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


**--fstab**:: **--fstab**::

View File

@ -126,7 +126,7 @@ Creates initial ramdisk images for preloading modules
Useful when running dracut from a git checkout. Useful when running dracut from a git checkout.
-H, --hostonly Host-Only mode: Install only what is needed for -H, --hostonly Host-Only mode: Install only what is needed for
booting the local host instead of a generic host. 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. --fstab Use /etc/fstab to determine the root device.
--add-fstab [FILE] Add file to the initramfs fstab --add-fstab [FILE] Add file to the initramfs fstab
--mount "[DEV] [MP] [FSTYPE] [FSOPTS]" --mount "[DEV] [MP] [FSTYPE] [FSOPTS]"
@ -244,7 +244,7 @@ set -- "${@/--include/++include}"
set -- "${@/%-i/++include}" set -- "${@/%-i/++include}"


TEMP=$(unset POSIXLY_CORRECT; getopt \ 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 kver: \
--long add: \ --long add: \
--long force-add: \ --long force-add: \
@ -356,7 +356,7 @@ while :; do
&& dracutbasedir="$(readlink -f ${0%/*})" && dracutbasedir="$(readlink -f ${0%/*})"
;; ;;
-H|--hostonly) hostonly_l="yes" ;; -H|--hostonly) hostonly_l="yes" ;;
--no-hostonly) hostonly_l="no" ;; -N|--no-hostonly) hostonly_l="no" ;;
--fstab) use_fstab_l="yes" ;; --fstab) use_fstab_l="yes" ;;
-h|--help) long_usage; exit 1 ;; -h|--help) long_usage; exit 1 ;;
-i|--include) push include_src "$2" -i|--include) push include_src "$2"