5.8. Combining linuxrc info file with YaST2 control file

If you choose to pass information to linuxrc using the info file, it is possible to integrate the keywords in the XML control file. In the case the file has to be accessible to linuxrc and has to be named info.

Linuxrc will look for a string (start_linuxrc_conf in the control file which represents the beginning of the file. If it is found, it will parse the content starting from that string and will finish when the string end_linuxrc_conf is found. The options are stored in the control file in the following way:

Example 5-8. Linxurc options in the control file

      
....
  <install>
....
    <init>
      <info_file>
<![CDATA[
#
# Don't remove the following line:
# start_linuxrc_conf
#
install: nfs://192.168.1.1/CDs/full-i386
textmode: 1
autoyast: file:///info

# end_linuxrc_conf
# Do not remove the above comment
#
]]>

      </info_file>
    </init>
......
  </install>
....

    

Note that the autoyast keyword must point to the same file, i.e. if it is on a floppy, then the protocol floppy has to be used. In other cases where the info file is stored in the initial ram-disk, the file option has to be used.