subiquity/examples
Olivier Gayot 66c82b3227 drivers: query again list of drivers if the source variant changes
The list of drivers suggested to the user may vary based on whether we
are installing a server or desktop image / source.

In the current implementation of the drivers controller, the value of
the source variant (e.g., server or desktop) is read early in the
initializer.

This is a problem because it happens before the client gets the
opportunity to tell us if we are installing a server or a desktop image.

If the source variant ever changes, we want to query again the list of
drivers to suggest.

Upon configuring the source, the drivers controller will query (again)
the list of drivers.

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-12-05 11:29:07 +01:00
..
postinst.d hooks: execute hook scripts as builtin late commands 2022-08-09 09:47:26 +02:00
snaps call into snapd to set up encryption when required 2022-11-11 14:46:44 +13:00
answers-bond.yaml source: run answers when only one source is configured 2022-04-26 13:43:47 +02:00
answers-guided-lvm.yaml source: run answers when only one source is configured 2022-04-26 13:43:47 +02:00
answers-imsm.yaml source: run answers when only one source is configured 2022-04-26 13:43:47 +02:00
answers-lvm-dmcrypt.yaml storage: use fields named passphrase for passphrases 2022-06-24 11:37:54 +02:00
answers-lvm.yaml source: run answers when only one source is configured 2022-04-26 13:43:47 +02:00
answers-preserve.yaml source: run answers when only one source is configured 2022-04-26 13:43:47 +02:00
answers-raid-lvm.yaml source: run answers when only one source is configured 2022-04-26 13:43:47 +02:00
answers-raid.yaml source: run answers when only one source is configured 2022-04-26 13:43:47 +02:00
answers-serial.yaml source: run answers when only one source is configured 2022-04-26 13:43:47 +02:00
answers-swap.yaml source: run answers when only one source is configured 2022-04-26 13:43:47 +02:00
answers-system-setup-init.yaml Adding WSLSetupOptions API endpoint 2022-08-23 10:45:29 -03:00
answers-system-setup-reconf.yaml Removed systemd from the UI 2022-04-07 10:55:30 +02:00
answers-tpm.yaml filesystem: mount snapd/seed/systems only if it exists 2022-11-25 15:50:01 +01:00
answers.yaml source: run answers when only one source is configured 2022-04-26 13:43:47 +02:00
autoinstall-interactive.yaml run error commands on failure 2020-12-18 14:42:01 +13:00
autoinstall-invalid.yaml tweak autoinstall command lists 2020-03-31 22:42:24 +13:00
autoinstall-system-setup-full.yaml Adding WSLSetupOptions API endpoint 2022-08-23 10:45:29 -03:00
autoinstall-system-setup-no-shutdown.yaml system_setup: shutdown/reboot tests 2021-10-18 17:15:45 +08:00
autoinstall-system-setup.yaml system_setup: include full autoinstall system 2021-10-11 10:20:18 +08:00
autoinstall-user-data.yaml examples: fix invalid user-data example since we now validate schema 2022-09-01 13:12:53 -06:00
autoinstall.yaml Rename UbuntuAdvantage -> UbuntuPro but keep autoinstall compat 2022-03-15 11:50:57 +01:00
curtin-events-curthooks.json install: invoke curtin multiple times with different stages 2022-08-11 09:16:06 +02:00
curtin-events-extract.json install: invoke curtin multiple times with different stages 2022-08-11 09:16:06 +02:00
curtin-events-fail.json install: invoke curtin multiple times with different stages 2022-08-11 09:16:06 +02:00
curtin-events-initial.json install: invoke curtin multiple times with different stages 2022-08-11 09:16:06 +02:00
curtin-events-partitioning.json install: invoke curtin multiple times with different stages 2022-08-11 09:16:06 +02:00
dr-config-magic-attach.yaml ubuntu-pro: add ability to run magic-attach locally in dry-run mode 2022-11-28 17:27:23 +01:00
existing-partitions.json add existing partitions sample data 2019-05-30 15:10:54 +12:00
imsm.json add examples/imsm.json 2021-07-07 08:40:33 +12:00
install-sources.yaml sources: add sample source catalog 2021-10-08 13:02:55 -06:00
lp-1986676-missing-osprober.json filesystem: fix kname for os prober 2022-08-25 17:01:33 -06:00
lsb-release-focal Only show UA screen if running on LTS release 2021-12-16 11:06:09 +01:00
lsb-release-impish Only show UA screen if running on LTS release 2021-12-16 11:06:09 +01:00
many-nics-and-disks.json Cleanup example data 2021-06-02 14:54:43 -06:00
mixed-sources.yaml drivers: query again list of drivers if the source variant changes 2022-12-05 11:29:07 +01:00
multipath.json Add multipath machine config 2019-10-08 15:40:50 +01:00
mwhudson.json add sample data with wifi 2021-06-09 11:07:22 +12:00
prefill-system-setup-complete.yaml Sample files for testing 2021-10-28 14:16:28 -03:00
prefill-system-setup-missing-identity.yaml Sample files for testing 2021-10-28 14:16:28 -03:00
prefill-system-setup-missing-locale.yaml Sample files for testing 2021-10-28 14:16:28 -03:00
prefill-system-setup-missing-realname.yaml Sample files for testing 2021-10-28 14:16:28 -03:00
prefill-system-setup-missing-username.yaml Sample files for testing 2021-10-28 14:16:28 -03:00
prefill-system-setup-missing-welcome.yaml Sample files for testing 2021-10-28 14:16:28 -03:00
simple.json examples: make the 'simple' mc disk bigger 2022-07-21 08:52:42 -06:00
threebuntu-on-msdos.json examples: threebuntu-on-msdos 2022-07-11 18:17:19 -06:00
tpm-dr-config.yaml filesystem: mount snapd/seed/systems only if it exists 2022-11-25 15:50:01 +01:00
tpm-sources.yaml configure controllers tui does not support when installing desktop 2022-11-15 15:43:33 +13:00
uaclient-status-expired.json ubuntu-pro: add subscription info in response to /ubuntu_pro/check_token 2022-06-30 16:31:56 +02:00
uaclient-status-valid.json ubuntu-pro: add subscription info in response to /ubuntu_pro/check_token 2022-06-30 16:31:56 +02:00
ubuntu-and-free-space.json examples: add disk with free space at end 2022-02-28 16:01:49 -07:00
virtio.json Cleanup example data 2021-06-02 14:54:43 -06:00
win10-along-ubuntu.json examples: add sample with size info 2022-05-31 09:09:33 -06:00
win10.json examples: add os-prober to win10 2021-12-07 11:46:28 -07:00