Commit Graph

88 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 0d51d66a57 rename MAKE_BOOT action to TOGGLE_BOOT 2020-04-21 10:51:00 +12:00
Michael Hudson-Doyle 670c9c838a add test for locale: in autoinstall file 2020-04-20 20:34:08 +12:00
Michael Hudson-Doyle 6ee32f4e19 have asking for confirmation cancel showing progress
otherwise the confiration dialog appears for 0.1s and then disappears, leaving the user stranded
2020-04-20 19:38:31 +12:00
Michael Hudson-Doyle 18e4d977e9 fix autoinstall refresh code to (a) match docs (b) work 2020-04-19 22:48:27 +12:00
Michael Hudson-Doyle e91f8bbf89 fix for omitting identity section when passing user-data 2020-04-19 21:44:09 +12:00
Michael Hudson-Doyle 96a6dfd010 add integration-style test for reusing an existing partitions 2020-04-14 09:50:56 +12:00
Michael Hudson-Doyle 22d84fb4cc fix some merge conflict resolution damage 2020-04-02 10:26:08 +13:00
Michael Hudson-Doyle c1c33dee03 add a simple integration test for autoinstall 2020-04-02 10:22:08 +13:00
Michael Hudson-Doyle c1855fe6d1 support packages, debconf-selections keys in autoinstall 2020-04-02 10:22:05 +13:00
Dimitri John Ledkov 6a091fcc44
Merge pull request #665 from mwhudson/cmdlist-checking
tweak autoinstall command lists
2020-04-01 22:13:10 +01:00
Michael Hudson-Doyle abc8f1dfb2 decouple install confirmation from filesystem view
because, in a partially interactive install, we might not show the
filesystem view at all, but should still ask for confirmation before
starting curtin
2020-03-31 22:58:05 +13:00
Michael Hudson-Doyle 03661dabec tweak autoinstall command lists
allow commands to be lists or strings
consider errors to be failures (except in error-commands)
2020-03-31 22:42:24 +13:00
Dimitri John Ledkov e416dd39f0
Merge pull request #663 from mwhudson/autoinstall-snaps
handle the 'snaps' section of the autoinstall file
2020-03-31 09:32:53 +01:00
Michael Hudson-Doyle a15858d934 handle the 'snaps' section of the autoinstall file
went through a few versions of this locally, this one is pleasingly
small in delta.
2020-03-31 17:09:47 +13:00
Michael Hudson-Doyle 32e79826ad do data loading / validation in a context 2020-03-30 10:35:45 +13:00
Michael Hudson-Doyle 32817ac410 add an invalid autoinstall file 2020-03-30 10:29:01 +13:00
Michael Hudson-Doyle 3856a11186 fix deleting virtual network devices 2020-03-20 09:18:25 +13:00
Michael Hudson-Doyle cc52bb62a5 fix enabling dhcp on a virtual interface 2020-03-20 09:17:29 +13:00
Michael Hudson-Doyle 99218fbeb4 support early and late commands 2020-02-04 14:03:59 +13:00
Michael Hudson-Doyle 9db0c18fdd add some example autoinstall files 2020-02-04 13:49:09 +13:00
Michael Hudson-Doyle e8a9cdf4f8 have dry-run install failures replay events from a real failure 2019-11-21 11:25:43 +13:00
Dimitri John Ledkov 82883cf75b Add multipath machine config 2019-10-08 15:40:50 +01:00
Dimitri John Ledkov 94de7dc522 Merge remote-tracking branch 'origin/pull/500/head'
Merge using existing partitions. Revert to using archive
curtin/deps/etc.

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2019-07-02 13:18:46 +01:00
Dimitri John Ledkov 71dbea28b1 Upgrade consoleconf in Ubuntu archive with i18n support.
Fixes #502
2019-07-01 11:07:27 +01:00
Dimitri John Ledkov dac6f12c0f Basic zdev view 2019-06-06 16:15:15 +01:00
Michael Hudson-Doyle 118a11cfa6 remove old sample machine data 2019-05-30 15:38:09 +12:00
Michael Hudson-Doyle 0c55149c31 run integration tests with simple sample data 2019-05-30 15:33:59 +12:00
Michael Hudson-Doyle e6ace190e3 add existing partitions sample data 2019-05-30 15:10:54 +12:00
Michael Hudson-Doyle 4a22f22189 when assembling vg from answers, check devices are ok_for_lvm_vg
And similar for RAID. Fix a couple of the answers files that got this
wrong and only worked by chance.
2019-05-30 10:07:26 +12:00
Dimitri John Ledkov 25071d9cf0 Drop installpath 2019-05-14 16:03:33 +02:00
Michael Hudson-Doyle d6ccebf9bb have answers-lvm-dmcrypt.yaml edit the vg's encryptedness off and on again 2019-05-02 13:00:42 +12:00
Michael Hudson-Doyle e12cdab65e hack snap version numbers in sample data to be more realistic 2019-04-09 23:13:37 +12:00
Michael Hudson-Doyle 0ce5a6bc2e record current and new versions of snap 2019-04-09 23:10:11 +12: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 35d41e26fd
Merge pull request #434 from mwhudson/refresh-branch
customize where subiquity refreshes from
2019-04-03 14:36:34 +13:00
Michael Hudson-Doyle ec15929d60 Update to probert tip
The minimum required: it still only looks at the "blockdev" key in the
probe data, none of the exciting new stuff.
2019-04-02 13:43:09 +13:00
Michael Hudson-Doyle f1177788e1 snap switch subiquity to stable/ubuntu-XX.YY.Z
also support passing subquity-channel= on the kernel command line
2019-03-29 15:07:11 +13:00
Michael Hudson-Doyle c1f8c10091 answers support for refresh screen 2019-03-12 11:49:03 +13:00
Michael Hudson-Doyle 4c1d374ee5 add snapdconnection.post and fake data captured from a real refresh 2019-03-12 11:49:03 +13:00
Michael Hudson-Doyle 9c9120403f add refresh sample data that shows an update for subiquity 2019-03-12 11:49:03 +13:00
Michael Hudson-Doyle 53d1006a06 Make the code for talking to snapd more generic
In preparation for the self-refresh and snap enterprise proxy work, both
of which will require talking to the snapd API.

This also makes the "snaps-from-examples" fakery happen at a lower level.
2019-03-04 16:18:57 +13:00
Michael Hudson-Doyle 8892e027e9 make sure that dmcrypt passphrase does not end up in log 2019-02-28 11:55:44 +13:00
Michael Hudson-Doyle 1e3a786ac2 add example with encrypted lvm 2019-02-28 11:55:17 +13:00
Michael Hudson-Doyle c571f58dcc fix saving static network data with search domains 2019-02-21 08:35:19 +01:00
Michael Hudson-Doyle 87ad4c3347 update snap sample output with snap 2.37 output 2019-02-13 14:28:38 +13:00
Michael Hudson-Doyle dfe61a0f6e fix import of ssh keys in answers bw compat support 2018-12-18 13:55:30 +13:00
Michael Hudson-Doyle 868e1ac47b convert example answers 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle bee1109a2d Much more fine grained answers support for networking. 2018-10-31 09:59:31 +13:00
Michael Hudson-Doyle ea7625881f add answers file that takes the guided-lvm option 2018-07-07 22:01:38 +12:00
Michael Hudson-Doyle 32b7d785cd answers support for lvm and some related fixes 2018-07-07 20:59:47 +12:00