generate_install_script_output() generates the install script, accordingly to the config passed, in a specific directory. generate_install_script_cmdline() generates the kernel command line that has to be used in order to perform the unattended installation. Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- virtinst/osdict.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/virtinst/osdict.py b/virtinst/osdict.py index b9387a33..eb64ba08 100644 --- a/virtinst/osdict.py +++ b/virtinst/osdict.py @@ -700,4 +700,16 @@ class _OsVariant(object): return config + def generate_install_script_output(self, script, config, output_dir): + if not self._os: + return + + script.generate_output(self._os, config, output_dir) + + def generate_install_script_cmdline(self, script, config): + if not self._os: + return None + + return script.generate_command_line(self._os, config) + OSDB = _OSDB() -- 2.20.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list