[PATCH 3/4] Do not support kickstart+live installs (#1027160).
David Shea
dshea at redhat.com
Fri Jan 3 15:22:07 UTC 2014
On 01/02/2014 01:57 PM, Chris Lumens wrote:
> ---
> data/liveinst/liveinst | 10 ++++++++++
> 1 file changed, 10 insertions(+)
We'll also need to change anaconda to ignore the kickstart, since it's
still going to pick it up from /run/install/ks.cfg
>
> diff --git a/data/liveinst/liveinst b/data/liveinst/liveinst
> index 99451ed..8866a0e 100755
> --- a/data/liveinst/liveinst
> +++ b/data/liveinst/liveinst
> @@ -110,6 +110,16 @@ for opt in `cat /proc/cmdline` $*; do
> --inst.updates=*)
> UPDATES="${opt#--inst.updates=}"
> ;;
> + ks=*|kickstart=*|--ks=*|--kickstart=*|inst.ks=*|--inst.ks=*|inst.kickstart=*|--inst-kickstart=*)
> + title="Configuration not supported"
> + text="Kickstart is not supported on live installs. This installation will continue interactively."
> + if which zenity &> /dev/null; then
> + zenity --warning --title="$title" --text="$text"
> + else
> + echo "$title" >&2
> + echo "$text" >&2
> + fi
> + ;;
> esac
> done
>
More information about the anaconda-patches
mailing list