Turns out we were not adding serial devices to the vms being created with virt-install. Let's fix it so the new serial-based method of unattended install works for libvirt as well.
Signed-off-by: Lucas Meneghel Rodrigues <[email protected]> --- client/virt/libvirt_vm.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/client/virt/libvirt_vm.py b/client/virt/libvirt_vm.py index e438616..3d49311 100644 --- a/client/virt/libvirt_vm.py +++ b/client/virt/libvirt_vm.py @@ -721,6 +721,9 @@ class VM(virt_vm.BaseVM): if params.get("use_os_variant") == "yes": virt_install_cmd += add_os_variant(help, params.get("os_variant")) + # Add serial console + virt_install_cmd += add_serial(help, self.get_serial_console_filename()) + # If the PCI assignment step went OK, add each one of the PCI assigned # devices to the command line. if self.pci_devices: -- 1.7.7.5 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
