]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
mkinitrd-suse.sh: Implement functionality of -A option 340/head
authorFabian Vogt <fvogt@suse.com>
Fri, 3 Feb 2017 15:02:33 +0000 (16:02 +0100)
committerDaniel Molkentin <daniel@molkentin.de>
Tue, 19 Dec 2017 12:23:08 +0000 (13:23 +0100)
- Without this patch, -A sets host_only=0,
    but host_only wasn't used
- Translates into --no-host-only now

mkinitrd-suse.sh

index d9de81b9825b9f267dc6cf12a33463d82935a474..20d85da1e13de2f6a50429b8e0a0344a6f65c95c 100755 (executable)
@@ -265,7 +265,7 @@ while (($# > 0)); do
            ;;
        -M) read_arg map_file "$@" || shift $?
            ;;
-       -A) host_only=0;;
+       -A) dracut_args="${dracut_args} --no-host-only";;
        -B) skip_update_bootloader=1;;
         -v|--verbose) dracut_args="${dracut_args} -v";;
        -L) logfile=;;