Commit Graph

22 Commits

Author SHA1 Message Date
Olivier Gayot 79326cf2eb source: run answers when only one source is configured
Before, we would not run answers for the source controller if only one
source was specified. The controller would automatically get marked
configured.

Since we're adding a new "search drivers" option in this screen, we need
to make it interactive in integration tests now.

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-04-26 13:43:47 +02:00
Olivier Gayot ad6cd6e383
Merge pull request #1196 from ogayot/FR-2077
Add client-side controller and view to install third-party drivers on server installer
2022-03-17 10:38:48 +01:00
Olivier Gayot e9b2e24b1a Rename UbuntuAdvantage -> UbuntuPro but keep autoinstall compat
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-03-15 11:50:57 +01:00
Olivier Gayot 2ec62051d4 Add basic implementation for third-party drivers GUI
[Michael Hudson Doyle]
 * Original patch

 [Olivier Gayot]
 * Make sure visible elements can be translated by using gettext _()
   construct.
 * Have GET /drivers provide the status of the checkbox (i.e. install
   drivers?) so we can restore the choice of the user when going back.
 * Store an object with an "install" boolean in the autoinstall schema ;
   instead of storing a boolean directly.

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-03-10 09:55:58 +01:00
Olivier Gayot 2bbd4fffe6 Update example states for Subiquity to cover valid token values
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-01-21 13:48:43 +01:00
Olivier Gayot 1c9c04d55d Add initial integration of Ubuntu Advantage in subiquity
Introduce a new view, model and controllers pair to enable Ubuntu
Advantage from Subiquity. For now, we expect the user to input an
alphanumeric token and rely on cloud-init to enable the features
associated with the subscription.

This implementation comes with a number of limitations:
 * inability to validate the token before first-boot
 * inability to check what features are associated with the Ubuntu
   Advantage subscription, before first-boot
 * the user must input the token directly: there is no mechanism to
   deduce the token based on email address and password.

The new screen is placed after the identity scree. The installation
should already be running when the UA screen will be shown to the user.

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2021-12-08 23:25:39 +01:00
Dan Bungert 3de314a64f fixup: snap & autoinstall 2021-09-22 17:45:58 -06:00
Michael Hudson-Doyle edc43ff811 add a minimal server process
run it automatically in dry-run mode
2020-09-22 14:43:26 +12:00
Dimitri John Ledkov dac6f12c0f Basic zdev view 2019-06-06 16:15:15 +01:00
Dimitri John Ledkov 25071d9cf0 Drop installpath 2019-05-14 16:03:33 +02:00
Michael Hudson-Doyle 194137a151 Support 'accept-default' and 'country-code' in mirror answers 2019-04-04 12:12:50 +13:00
Michael Hudson-Doyle c1f8c10091 answers support for refresh screen 2019-03-12 11:49:03 +13:00
Scott Moser 777610572b
Add a mirror panel.
This very simply adds a mirror panel to subiquity.
Nothing intelligent at all.  Just defaults to filling with
http://archive.ubuntu.com/ubuntu/ and lets user fill it in.

As implemented here, the mirror only replaces primary mirror,
security will still use http://security.ubuntu.com/ubuntu/
2018-06-08 12:21:28 -04:00
Michael Hudson-Doyle c53b3dae8f change back to looking for ssh-import-id in answers 2018-06-01 10:22:55 +12:00
Michael Hudson-Doyle 52560dc82c answers support and some other fixes 2018-05-22 23:01:28 +12:00
Michael Hudson-Doyle 606573fa86 simplify answers handling 2018-05-18 13:53:51 +12:00
Michael Hudson-Doyle 1033f2041f answers support 2018-05-18 13:53:51 +12:00
Michael Hudson-Doyle 13eaa5c9dc add a bare-bones proxy model/view/controller 2018-04-09 15:05:46 +12:00
Michael Hudson-Doyle b7fe9d6899 answers support for installpath 2018-02-12 12:44:58 +13:00
Michael Hudson-Doyle 2cc3989ad2 some keyboard selection fixes I had forgotten to push to github :( 2018-02-08 11:57:52 +13:00
Michael Hudson-Doyle 1794ed53dd
implement keyboard selection (#276)
A new screen immediately after language.
2018-02-08 10:37:22 +13:00
Michael Hudson-Doyle 6919e5ce68 minimal implementation of canned answers
this allows automation of the enter-enter-enter flow, not much more than that
2017-11-17 13:25:16 +13:00