Michael Hudson-Doyle
9a4f53965b
render LV sizes with 'B' to match new curtin schema
2019-04-03 15:40:32 +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
ea96951fbd
Merge pull request #438 from mwhudson/update-probert
...
Update to probert tip
2019-04-02 22:16:21 +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
f29ee64f76
Relax constraints on what can be deleted slightly
...
Allow a compound device (i.e. VG or raid) to be deleted if none of its
partitions are mounted or part of another device.
This makes it a lot easier to remove existing devices that probing for
existing partitions / compound devices can find.
2019-04-01 21:06:38 +13:00
Michael Hudson-Doyle
24012b14c7
show table heading on filesystem view initial load
2019-04-01 21:04:00 +13:00
Michael Hudson-Doyle
18374cef06
Use attribute metadata to drive maintenance of backlinks
...
By backlinks I mean for example the link a filesystem has to a mount
that uses it, or the link from a partition to the RAID it is a member
of.
This might be a little magical, but something like this is really nice
when interpreting config objects from curtin.
2019-04-01 15:54:07 +13:00
Michael Hudson-Doyle
67884836db
use newly added metadata to make some code more generic
2019-04-01 15:54:07 +13:00
Michael Hudson-Doyle
2de590e49b
add wrappers around attr.ib to be more declarative about filesystem actions
2019-04-01 15:54:04 +13:00
Michael Hudson-Doyle
52f7f79459
lint
2019-03-29 15:25:08 +13:00
Michael Hudson-Doyle
5ddab88a44
do not refresh if snap switch fails
...
(it's pretty unlikely to fail though)
2019-03-29 15:07:15 +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
4794a68306
Merge pull request #433 from mwhudson/better-offline-installs
...
better apt configuration during installs
2019-03-29 12:57:44 +13:00
Michael Hudson-Doyle
ce346bd888
change subiquity-configure-apt to be a bit more robust and clear
2019-03-29 11:53:49 +13:00
Michael Hudson-Doyle
b9979cad2a
add a big comment
2019-03-29 10:55:16 +13:00
Michael Hudson-Doyle
181792f783
start to split behaviour on presence of network or not
2019-03-29 10:55:16 +13:00
Michael Hudson-Doyle
6de5dbbd8e
configure apt during installs to prefer installation from install media
2019-03-29 10:55:16 +13:00
Michael Hudson-Doyle
7f1cf504bb
Merge pull request #431 from mwhudson/better-offline-behaviour-2
...
rework network ui, allow offline progress
2019-03-29 10:53:23 +13:00
Michael Hudson-Doyle
d827325fdb
Merge pull request #432 from mwhudson/yaml-warnings
...
use yaml.safe_load instead of yaml.load
2019-03-26 23:07:58 +13:00
Michael Hudson-Doyle
27b49c9849
use yaml.safe_load instead of yaml.load
2019-03-26 13:59:38 +13:00
Michael Hudson-Doyle
3384eb5c84
small fixes
2019-03-26 11:32:02 +13:00
Michael Hudson-Doyle
b485cf487b
make the re-dhcp on entry to the network screen a little more discreet
2019-03-26 10:59:50 +13:00
Michael Hudson-Doyle
099e658670
make applying changes less jarring for virtual devices
2019-03-26 10:59:50 +13:00
Michael Hudson-Doyle
23488a6f2e
some fixes found in testing
2019-03-26 10:59:50 +13:00
Michael Hudson-Doyle
307155a7fb
bump probert commit
2019-03-26 10:59:34 +13:00
Michael Hudson-Doyle
b571b3d1a9
track and display DHCP status
...
Mark all devices with DHCP enabled as pending when the config is
applied, and mark them as timed out ten seconds later if they have not
received any addresses.
2019-03-26 10:57:36 +13:00
Michael Hudson-Doyle
eae2497d41
auto disable inactive NICs
...
This disables any NIC that does not have a global address by the first
time the network screen is shown
2019-03-26 10:57:36 +13:00
Michael Hudson-Doyle
3bb9268974
apply network changes immediately, rather than when the "Done" is pressed
...
diff makes this change look more involved than really necessary :(
2019-03-26 10:57:33 +13:00
Michael Hudson-Doyle
594db86618
have DownNetworkDevices do its work in a background thread
...
not that it should block, but no reason not to
2019-03-26 10:57:13 +13:00
Michael Hudson-Doyle
ff59de4a9c
change "Done" button to "Continue without network" if there is no default route
2019-03-26 10:57:13 +13:00
Michael Hudson-Doyle
680da7d299
rename/redefine default route waiter to watcher
...
the callbacks now get called whenever the set of default routes changes,
not just when one appears
2019-03-26 10:57:13 +13:00
Michael Hudson-Doyle
ce64012971
Merge pull request #430 from mwhudson/addresses-below-nic
...
refactor network view
2019-03-26 09:18:28 +13:00
Michael Hudson-Doyle
c0f4a90179
refactor network view
...
The visible impact of this is that the addresses for a NIC are now
displayed underneath its name and a long "info line" (i.e. mac / model /
vendor) for a nic no longer distorts its table.
This lays the groundwork for better handling of NICs that fail to dhcp
and things like that.
2019-03-25 09:25:53 +13:00
Michael Hudson-Doyle
b94dfd719c
fix inject-subiquity-snap for a local snap again
2019-03-23 21:44:06 +13:00
Dimitri John Ledkov
b1b88059d9
Merge pull request #429 from xnox/fixup-prep
...
PReP partition must be wiped, and grub_device not set, for power.
2019-03-22 18:31:53 +00:00
Dimitri John Ledkov
a61770a341
Respect the order of arguments, never reshuffle.
2019-03-22 18:15:50 +00:00
Dimitri John Ledkov
b1080b51a6
Fix up comments.
2019-03-22 18:12:15 +00:00
Dimitri John Ledkov
4e57c3152f
PReP partition must be wiped, and the _disk_ should not have grub_device flag.
...
However, we use the grub_device flag on the disk for UX, but we should
either not have it at all for power, or set it on the partition
(rather than the disk), and I guess we need to make our 'can make
boot' smarter for ppc64le... as in check if the disk has any
partitions marked as prep already... not sure.
2019-03-22 16:41:30 +00:00
Dimitri John Ledkov
bbecf24feb
Merge pull request #428 from xnox/fix-serial
...
Make a unified launcher
2019-03-21 22:46:26 +00:00
Dimitri John Ledkov
ab8ae0e936
Make a unified launcher
2019-03-21 12:20:41 +00:00
Michael Hudson-Doyle
1c96c02420
Merge pull request #427 from mwhudson/spinner-to-core
...
move spinner to subiquitycore
2019-03-21 15:26:24 +13:00
Michael Hudson-Doyle
d2349b0507
move spinner to subiquitycore
2019-03-21 14:48:48 +13:00
Michael Hudson-Doyle
082a916890
Merge pull request #425 from xnox/prep-partition
...
Attempt to add a PReP partition.
2019-03-21 10:34:52 +13:00
Dimitri John Ledkov
0ccd26bcaf
lint
2019-03-20 01:21:29 +00:00
Dimitri John Ledkov
46131d2b0b
Attempt to add a PReP partition.
2019-03-19 23:44:21 +00:00
Michael Hudson-Doyle
77cb8c8947
Merge pull request #422 from mwhudson/snap-refresh-better
...
subiquity self-refresh
2019-03-20 11:37:06 +13:00
Michael Hudson-Doyle
37f53a185e
Merge pull request #424 from mwhudson/lp-1784370
...
relax constraint that launchpad usernames must be >1 character long
2019-03-19 09:53:01 +13:00
Michael Hudson-Doyle
8cb010f9b5
relax constraint that launchpad usernames must be >1 character long
...
the constraint has been in place for a very long time but apparently
not since the dawn of time (evidence: https://launchpad.net/~j )
See https://bugs.launchpad.net/subiquity/+bug/1784370
2019-03-18 15:47:12 +13:00
Michael Hudson-Doyle
bc1a1e7fe6
fix Signal.register to accommodate strange urwid behaviour
2019-03-14 09:55:03 +13:00
Michael Hudson-Doyle
21f26fb9c0
Merge pull request #423 from mwhudson/no-setupcon-by-default
...
do not run setupcon if the keyboard setup has not changed
2019-03-14 09:12:52 +13:00