[FR] Enable load of external autoinstall.yaml file even if one already exists

Bug #1948823 reported by Pedro Principeza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
Fix Released
Undecided
Dan Bungert

Bug Description

[Description]
Subiquity's autoinstall does not provide means to, on an installation where the autoinstall.yaml file is in use, to have another autoinstall.yaml file to be loaded "in flight".

This comes in handy when customized installations of Ubuntu (i.e. tailored ISO installations that _already_ contain an autoinstall.yaml file) want to offer the possibility of user-defined customizations.

As confirmed with members of Foudations team, this is not available in Subiquity right now.

[Workarounds]
The usage of early-commands clauses, to merge the yaml files, could be an alternative to the scenario described here, but it would still be quite "hacky" for a feature.

Let me know if further information is required at this time, to evaluate the inclusion of such mechanism in Subiquity. Thanks!

Tags: fr-2076
Revision history for this message
Dan Bungert (dbungert) wrote :

The solution to be implemented:

1. Dynamically supplied autoinstall is used in preference to iso one
2. Reloading of subiquity uses this same location today. This data shall be saved to a spot under /run
3. /run location is preferred over both the dynamically supplied one and the one at /

Changed in subiquity:
status: New → Confirmed
tags: added: fr-2076
Dan Bungert (dbungert)
Changed in subiquity:
status: Confirmed → In Progress
assignee: nobody → Dan Bungert (dbungert)
Revision history for this message
Dan Bungert (dbungert) wrote :
Dan Bungert (dbungert)
Changed in subiquity:
status: In Progress → Fix Committed
Revision history for this message
Pedro Principeza (pprincipeza) wrote :

A Canonical UA customer has consumed the latest Subiquity version at the Edge channel, and tested the feature. The feedback was:

"Looks like this feature is working as expected (ds=nocloud-net wins over /autoinstall.yaml) when using the latest subiquity/edge build."

Thanks!

Revision history for this message
Dan Bungert (dbungert) wrote :

We believe a fix for this can be found in Subiquity 22.10.1. On
install you will be offered to update to the new version of the
installer if network is available, or you can perform a manual update
by running the follwing in a terminal:
sudo snap refresh subiquity

Changed in subiquity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.