Re: Is it possible to set the installation display mode with the use of an %include and %pre?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Is it possible to set the installation display mode with the use of an %include 
> command and accompanying commands in the %pre section?
> 
> I would like to choose to perform the install in either 'text' or 'graphical' 
> mode depending upon the system hardware.
> 
> My attempts to do this so far have failed and it appears that the installation 
> display mode, which defaults to graphical as you'd know, cannot be set in the 
> manner that I have described.

It will be possible to do this in F15, but not in any previous release.
The reason for this is that the text/graphical/cmdline commands (along
with a bunch of others) get processed by the initial text stage of
anaconda known as the loader.  This is written in C and had a completely
different kickstart file parser, one that did not understand %include.
For F15, I have switched to embedding pykickstart into the loader so any
command should be able to be used in an %include.

- Chris

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux