generate_command_line


Description:

[ Version ( since = "0.2.7" ) ]
public string generate_command_line (Os os, 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.

If you are generating the command line for a specific media, it is recommended that you use generate_command_line_for_media() instead.

If you are generating the command line for a specific tree, it is recommended that you use generate_command_line_for_tree() instead.

Parameters:

this

the install script

os

the os entity

config

the install script config

Returns:

The generated command line string, NULL otherwise.