Project

General

Profile

action #50111

Updated by riafarov almost 3 years ago

Motivation
----------

Currently There are several cases where we cannot switch to a [install shell](https://openqa.suse.de/tests/2755766#step/installation_overview/3) when we are in an [installation](https://openqa.suse.de/tests/2755766#step/installation_overview/6), however being able to switch to a console can be very useful.

In the https://openqa.suse.de/tests/latest?arch=x86_64&flavor=Installer-DVD&distri=sle&test=remote_vnc_controller&version=15-SP1&machine=64bit we have completely wrong setup.
In case we want to collect the logs, logs are collected from the image of SLE 12 SP3 instead of SUT, which is wrong and dangerous.

Acceptance criteria
-------------------
1. Logs can be collected from the SUT in case of MM VNC installation

Suggestion
----------

- Make sure to enable ssh in bootloader on the guest
- Open another TTY on the remote controller, from which we open a new ssh session to the guest. This should work in all particular cases.

Further details
---------------

**This is a change in os_autoinst. select_console is a function in testapi.pm.**
The way to swith between consoles is:
select_console 'install-shell';
select_console 'installation';

Back