Commit Graph

3265 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 67247c8eaf do not show ssh help menu item at all if we cannot determine password to use
Otherwise the help appears on bionic and is just a tease.
2020-04-15 21:13:52 +12:00
Michael Hudson-Doyle 1dc93b33d0
Merge pull request #706 from mwhudson/better-install-partname
use curtin.block.partition_kname to calculate partition devpath
2020-04-15 20:26:54 +12:00
Michael Hudson-Doyle f604dc245b make part name better 2020-04-15 17:11:18 +12:00
Michael Hudson-Doyle ce0e1dfa57 do not import subiquity stuff until APPORT_DATA_DIR is safely set 2020-04-15 17:06:34 +12:00
Michael Hudson-Doyle 85ebbec4fc use apport hooks from the snap, not the live system
also include most hooks in the snap
2020-04-15 16:56:12 +12:00
Michael Hudson-Doyle 1c378b9958 use curtin.block.partition_kname to calculate partition devpath
hopefully fixing https://bugs.launchpad.net/subiquity/+bug/1861369
2020-04-15 14:17:29 +12:00
Michael Hudson-Doyle 32dcd15cd8
Merge pull request #705 from mwhudson/fix-continue-without-updating-harder
Fix choosing continue before snap refresh has completed
2020-04-14 14:42:41 +12:00
Michael Hudson-Doyle bca97f424d
Merge pull request #704 from mwhudson/clear-confusion
set wipe, preserve more consistently
2020-04-14 14:41:03 +12:00
Michael Hudson-Doyle c62beeb0df Fix choosing continue before snap refresh has completed
Again :(
2020-04-14 14:37:56 +12:00
Michael Hudson-Doyle 33cd2c356a clear spare_devices before putting them in a raid 2020-04-14 14:35:14 +12:00
Michael Hudson-Doyle 43f8f7810b set wipe, preserve more consistently
.clear() is called on any object that is about to be put into a RAID or
VG (and also before things are deleted but that does not matter here).
Change it to always set wipe=superblock, and preserve=False on disks.

This fixes making a RAID out of disks and might fix
https://bugs.launchpad.net/subiquity/+bug/1837214 once and for all.
2020-04-14 14:21:45 +12:00
Michael Hudson-Doyle c0b7daa984
Merge pull request #703 from mwhudson/ignore-unreferenced-devices
do not include unreferenced devices in curtin storage config
2020-04-14 10:37:11 +12:00
Michael Hudson-Doyle 56a034f19b add a test that a new partition is always included in the config even if not mounted 2020-04-14 10:23:26 +12:00
Michael Hudson-Doyle c9026a0c40 rewrite core of render actions to be a bit more explicit 2020-04-14 10:21:46 +12:00
Michael Hudson-Doyle e3ec05a6c1 always include partition number in curtin config 2020-04-14 10:21:29 +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 ce55e8320f include partition number in the curtin config for pre-existing partitions 2020-04-14 09:39:57 +12:00
Michael Hudson-Doyle c206242c4e do not include unreferenced preserved things in curtin storage config 2020-04-14 09:11:23 +12:00
Michael Hudson-Doyle 88f76faf1c
Merge pull request #702 from mwhudson/autoinstall-install_devices
fix handling of install_devices converting storage autoinstall config
2020-04-14 08:52:47 +12:00
Michael Hudson-Doyle 9c431963a7 fix install_devices in generated autoinstall data 2020-04-14 08:18:36 +12:00
Michael Hudson-Doyle 24be094b27 fix handling of install_devices converting storage autoinstall config
For https://bugs.launchpad.net/subiquity/+bug/1872464
2020-04-14 08:10:18 +12:00
Michael Hudson-Doyle 7a08ff1405
Merge pull request #701 from m-shibata/fix_install_ssh
fix typo at openssh-server installer
2020-04-13 08:27:57 +12:00
Dimitri John Ledkov bd98660d98 Switch to core18 2020-04-12 20:01:58 +01:00
Mitsuya Shibata 5e61e01fc6 fix typo at openssh-server installer 2020-04-12 05:50:15 +00:00
Michael Hudson-Doyle e3633c3f4e
Merge pull request #699 from mwhudson/new-curtin-probert
switch to probert and curtin tips to get latest fixes
2020-04-12 09:02:56 +12:00
Michael Hudson-Doyle 969aa2acbb
Merge pull request #700 from mwhudson/tyop
fix a typo
2020-04-12 09:02:46 +12:00
Michael Hudson-Doyle 8df2d9d3f6 fix a typo 2020-04-12 09:01:30 +12:00
Michael Hudson-Doyle b08cfcf247
Merge pull request #697 from mwhudson/do-not-overwrite-autoinstall
do not overwrite autoinstall file
2020-04-12 08:56:24 +12:00
Michael Hudson-Doyle a7b4c185d8
Merge pull request #698 from mwhudson/console=ttyS0,11200
handle kernel command lines like console=ttyS0,115200n8
2020-04-12 08:56:10 +12:00
Michael Hudson-Doyle b540dc1d84 switch to probert and curtin tips to get latest fixes 2020-04-12 08:40:28 +12:00
Michael Hudson-Doyle 96f9568122 handle kernel command lines like console=ttyS0,115200n8 2020-04-11 21:19:39 +12:00
Michael Hudson-Doyle 769856f24a do not overwrite autoinstall file
otherwise, a subiquity restart or whatever could lead to changes made by early-commands
being lost

this also allows supplying autoinstall.yaml by sticking it on the iso
2020-04-11 21:17:34 +12:00
Dimitri John Ledkov ada4c7b14d Upload subiquity snapshot with newer translations and consoleconf. 2020-04-09 14:04:47 +01:00
Dimitri John Ledkov b34aeda02d
Merge pull request #695 from CanonicalLtd/fix-login-view-focus
Fix login view button focus to done
2020-04-09 13:28:34 +01:00
Dimitri John Ledkov 854802bd07
Merge pull request #694 from CanonicalLtd/palette-console-conf
Use common palette.
2020-04-09 13:28:24 +01:00
Dimitri John Ledkov b61a3369a3 Fix login view button focus to done 2020-04-09 12:34:37 +01:00
Dimitri John Ledkov a70d309f6a Use common palette.
Fixes header frindge colors in console-conf.
2020-04-09 12:20:16 +01:00
Dimitri John Ledkov f3b1a70822
Merge pull request #692 from bboozzoo/bboozzoo/chooser-tweaks
console_conf: various recover chooser tweaks
2020-04-09 10:59:39 +01:00
Maciej Borzecki 9293d85638 console_conf/ui/views: simplify sorting actions, tweaks
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-08 12:56:18 +02:00
Maciej Borzecki 8ebc8e0580 console_conf/ui/views/chooser: tweak generic action summary
Thanks @degville!

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-08 11:57:24 +02:00
Maciej Borzecki 3967329832 console_conf/ui/views/chooser: use lowercase action title in canned summary
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-08 11:57:00 +02:00
Michael Hudson-Doyle 46c539c924 make "make schema" output be just the schema and nothing else 2020-04-08 20:53:35 +12:00
Michael Hudson-Doyle cc3e5df71f
Merge pull request #693 from mwhudson/fix-dropins
remove stray line from proxy from snapd_proxy dropin
2020-04-08 20:40:00 +12:00
Michael Hudson-Doyle bf10d2baff remove stray line from proxy from snapd_proxy dropin
about two years ago I copy-pasted this from a shell script and never
noticed I had included the EOF until now
2020-04-08 18:27:10 +12:00
Maciej Borzecki a957c5b889 console_conf/chooser: UI tweaks
- drop the ABORT button
- introduce BACK button, goes back to the correct previous screen
- sort actions in the order of run -> recover -> install -> rest
- capitalize action title strings
- simplify current model actions screen
- user hints in the confirm screen for well known modes
  - generic hint for unknown modes

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-07 17:38:45 +02:00
Maciej Borzecki d3ac0d6f36 console_conf/chooser: use model display name in top banner
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-07 17:36:47 +02:00
Maciej Borzecki ed791e5c9e console_conf/models/systems: add method for forgetting the current selection
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-07 17:22:29 +02:00
Maciej Borzecki a33a477324 subiquitycore/core: fix typo in comments
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-07 15:35:47 +02:00
Michael Hudson-Doyle a0dae13dd7
Merge pull request #684 from mwhudson/progress-screen
better experience for partially-interactive installs
2020-04-07 23:00:00 +12:00
Michael Hudson-Doyle 4bef0af3da
Merge pull request #689 from mwhudson/more-autoinstall-storage
two parts of the autoinstall storage spec i forgot about
2020-04-07 22:57:05 +12:00