[PATCH] Correctly accept 'sshd' boot arg as alias for 'inst.sshd' (#924157)

Chris Lumens clumens at redhat.com
Mon Oct 28 13:45:02 UTC 2013


> diff --git a/data/systemd/anaconda-generator b/data/systemd/anaconda-generator
> index 41ee092..ba82c8f 100755
> --- a/data/systemd/anaconda-generator
> +++ b/data/systemd/anaconda-generator
> @@ -45,6 +45,6 @@ done
>  # platform.  Really any platform with a crappy console that can't do curses
>  # or have multiple VTs should get sshd spawned automatically, but we don't
>  # yet have a good way of detecting these platforms.
> -if getargbool 0 inst.sshd || [ $(uname -m) = "s390x" ]; then
> +if getargbool 0 sshd inst.sshd || [ $(uname -m) = "s390x" ]; then
>      ln -sf $systemd_dir/anaconda-sshd.service $target_dir/anaconda-sshd.service
>  fi

Looks good.

- Chris


More information about the anaconda-patches mailing list