generate_command_line_for_media


Description:

[ Version ( since = "0.2.12" ) ]
public string generate_command_line_for_media (Media media, InstallConfig config)

Some install scripts need to pass a command line to the kernel, Such install scripts belong to OSs that provide paths to the kernel and initrd files that can be used to directly boot (http://wiki.

qemu.org/download/qemu-doc.html#direct_005flinux_005fboot) the OS in order to pass the needed commandline to it.

The media media must have been identified successfully using identify_media() before calling this function.

Parameters:

this

the install script

media

the media

config

the install script config

Returns:

The generated command line string, NULL otherwise.