Public bug reported:

Request
-------
Add the ability for autoinstall users to specify types of pre-install errors 
that should be automatically be accepted/ignored (provided they can be 
accepted).

  storage:
    layout:
      name: hybrid
      ...
      accepted-errors: [running-in-vm] 

Why needed
----------
In Stonking, snapd returns `running-in-vm` as a pre-install error, effectively 
blocking the installation. This makes it impossible to perform automated 
TPM/FDE installations in VMs, and makes it a challenge to test TPM/FDE without 
real hardware.

What changed
------------
Subiquity adds support for the "accepted-errors" autoinstall directive. If said 
error is presented as a pre-install error, it will be automatically accepted 
instead of blocking the installation.

This PR will be backported to subiquity's ubuntu/stonking branch:

https://github.com/canonical/subiquity/pull/2396

** Affects: subiquity
     Importance: Undecided
         Status: New

** Affects: subiquity (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: subiquity (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2165917

Title:
  [FFe] Accept specific pre-install errors during automated TPM/FDE
  install

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2165917/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to