[master/rhel7] Fix 'text' and 'skipx' (#1021963)

Will Woods wwoods at redhat.com
Mon Feb 24 21:12:40 UTC 2014


Right now, if you boot the installer with 'text' and install a package set
that includes Xorg and a desktop, you'll get a system that boots to graphical
mode.

The intended behavior is this: if the installer is in text mode, the installed
system should also come up in text mode.

Alternately, if the user specifies 'skipx' in the kickstart, we should boot to
text mode, not graphical.

So here's three patches to fix that up a bit:

Patch 1: If you have 'skipx' in kickstart, change the default target to
multi-user.target.

Patch 2: If (after setupDisplay has a chance to ask questions etc.) the
installer is running in text mode, set skipx to True.

Patch 3: Make sure we write 'text' or 'cmdline' into the resulting kickstart
if the installer is in text or cmdline mode.

I've tested these with RHEL7, and they seem to work as expected.

-w



More information about the anaconda-patches mailing list