Collecting Subiquity Logs

Establish SSH Connection

It is possible to connect the system which is still in the installation stage launched by subiquity. If the SSH connection could be established, then it is very easy to use the usual scp to collect log files in the ephemeral system.

Change the Subiquity Shell

The key step is to change the default shell, subiquity shell to be the other shell that supports ssh connection and scp manipulation.

If you are dropped to (subiquity) shell because of any issue or crash of subiquity during the installation, you can build a ssh connection via the following steps:

Subiquity supports SSH connection by default. That being said, you don't need to install ssh deb package via apt or something. This is very convenient for debugging!