Commit Graph

2240 Commits

Author SHA1 Message Date
Dimitri John Ledkov 11b22490bc
Merge pull request #394 from xnox/serial-colors-vt220
Setup colors on serial vt220
2018-11-23 02:52:02 +00:00
Dimitri John Ledkov 5041731ff7 scripts: add s390x support to inject-subiquity-snap 2018-11-23 01:45:15 +00:00
Dimitri John Ledkov 0d35fa613c core: special case s390x vt220 console on /dev/ttysclp0, as it supports colors. 2018-11-23 01:24:34 +00:00
Dimitri John Ledkov 2e0ea2d1e4
Merge pull request #395 from xnox/chreipl
s390x: implement chreipl reboot support.
2018-11-23 01:21:14 +00:00
Dimitri John Ledkov ac8b0661a3 s390x: implement chreipl reboot support. 2018-11-23 00:59:48 +00:00
Dimitri John Ledkov 4c4987b9f7
Merge pull request #393 from xnox/ports-mirror
Fix default mirror for ports.
2018-11-23 00:24:20 +00:00
Michael Hudson-Doyle 583909a716
Merge pull request #398 from mwhudson/md-name-validation
validate raid and vg/lv names
2018-11-23 09:38:27 +13:00
Michael Hudson-Doyle 5043c45a58
Merge pull request #399 from mwhudson/crypted-password-leak
do not leak crypted password
2018-11-23 09:38:14 +13:00
Michael Hudson-Doyle 9c13fec79a validate VG/LV names
the rules are a bit complex but somehow the documentation is a bit more
convinced than mdadm's...
2018-11-22 22:02:18 +13:00
Michael Hudson-Doyle 57092b6bb7 haha ok so the idea that / was the only invalid character was wrong
although some of the restrictions are essentially down to mdadm bugs
2018-11-22 21:22:08 +13:00
Michael Hudson-Doyle 119eeeead7 do not log crypted admin password 2018-11-21 14:31:59 +13:00
Michael Hudson-Doyle c98c3b21e1 validate raid device name
apparently the only rule is that it is non-empty and cannot contain a /
2018-11-21 14:15:18 +13:00
Michael Hudson-Doyle 25855573f6 write the cloud-init user data as 0o600
as it has a crypted admin password in it
2018-11-21 13:51:43 +13:00
Michael Hudson-Doyle daba9990f3
Merge pull request #396 from mwhudson/include-curtin
include curtin in snap
2018-11-21 10:34:44 +13:00
Michael Hudson-Doyle 69f018db5b invoke curtin from the snap 2018-11-20 11:47:51 +13:00
Michael Hudson-Doyle 1a28d8b9c2 add curtin to snap 2018-11-19 14:24:39 +13:00
Michael Hudson-Doyle 8c1a497523 fix some snapcraft deprecation warnings 2018-11-19 12:36:55 +13:00
Dimitri John Ledkov 01fdab3e17 travis: drop artful, add disco. 2018-11-13 15:47:04 +00:00
Dimitri John Ledkov eb7cecd36b Fix default mirror for ports. 2018-11-13 13:38:50 +00:00
Michael Hudson-Doyle ca028b7177
Merge pull request #392 from mwhudson/network-refactor
refactor network model
2018-11-02 11:50:38 +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 5f8e3dc2a4 do not call next-screen from a background thread 2018-10-31 09:58:58 +13:00
Michael Hudson-Doyle 09bbe3ff19 Do not call the default route waiter repeatedly.
This can crash when multiple interfaces get routes.
2018-10-31 09:58:58 +13:00
Michael Hudson-Doyle 15b6bb1114 Major refactor of network model
The main thrust of this is to not create virtual interfaces until
applying the config.

This meant that the network model has to change a bit to be able to
represent interfaces that do not yet exist on the system. I did this
by ripping out most of the existing network device code: now a
NetworkDev is really just a wrapper for the config for a device and (if
it exists) the netlink data too. A few places had to adjust to checking
if the netlink info is available before accessing it but all in all it
was not that painful.

There are a few other refactorings in this commit that perhaps should be
split out (how the bond parameters are handled, some stuff about
resizing the table rows when interfaces are edited) but it doesn't
really seem worth it.
2018-10-31 09:58:56 +13:00
Michael Hudson-Doyle ee1a7b69a7
Merge pull request #387 from sil2100/agetty-i
agetty needs an explicit -i to not to display the /etc/issue file
2018-08-06 09:33:25 +12:00
Łukasz 'sil2100' Zemczak 14c3d43b24 agetty needs an explicit -i to not to display the /etc/issue file before the login prompt. This was the default in the past probably. 2018-08-03 11:46:32 +02:00
Michael Hudson-Doyle ffed9d3491 more pessimism 2018-07-26 10:01:26 +12:00
Michael Hudson-Doyle 952787e884 yet another "prevent used RAID devices from being used twice" bug 2018-07-24 22:55:04 +12:00
Michael Hudson-Doyle 8cbc47a044 use even less of the theoretical space of a RAID 2018-07-23 14:40:03 +12:00
Michael Hudson-Doyle 22e4024e91 prevent partitions RAID devices from being part of RAIDs or LVM vgs 2018-07-23 14:31:52 +12:00
Michael Hudson-Doyle 2d3342e5ff do not grey out SWAP in fs summary 2018-07-23 10:52:31 +12:00
Michael Hudson-Doyle d94da51987 fix formatting entire device as swap
https://bugs.launchpad.net/subiquity/+bug/1782743
2018-07-23 10:45:22 +12:00
Michael Hudson-Doyle 90c6d0abab fix mismerge prevented RAID devices from being part of further RAIDs or LVM vgs
https://bugs.launchpad.net/subiquity/+bug/1782635
2018-07-23 10:42:12 +12:00
Michael Hudson-Doyle 7a86603539 prevent bonding of bonds
https://bugs.launchpad.net/bugs/1782397
2018-07-23 10:39:14 +12:00
Michael Hudson-Doyle 96ee3db409 make example CIDR form address family appropriate
https://bugs.launchpad.net/bugs/1782391
2018-07-23 10:38:06 +12:00
Michael Hudson-Doyle 7f766e93a1 forbid bonding of vlans
https://bugs.launchpad.net/bugs/1782351
2018-07-23 10:34:41 +12:00
Michael Hudson-Doyle a470ef082a
Merge pull request #386 from mwhudson/reserved-usernames
do not let the user choose a reserved username
2018-07-17 10:54:50 +12:00
Michael Hudson-Doyle 67ebf6ad35 do not let the user choose a reserved username
using the same logic as d-i
2018-07-17 10:32:48 +12:00
Michael Hudson-Doyle 0004174bd5 correctly set footer on final screen 2018-07-16 22:51:04 +12:00
Michael Hudson-Doyle 42b339605c make button labels more consistent
especially back vs cancel

for https://bugs.launchpad.net/subiquity/+bug/1781457
2018-07-16 22:45:36 +12:00
Michael Hudson-Doyle 5d42ace4c9 improve layout of keyboard detection dialogs 2018-07-16 20:31:37 +12:00
Michael Hudson-Doyle d4fa1d006a fix a crash on keyboard detection 2018-07-16 20:19:50 +12:00
Michael Hudson-Doyle 42b58c5232 relax github username validation
because the rules on the usernames you can create now are more restrictive
than the rules have been in the past.

for https://bugs.launchpad.net/subiquity/+bug/1780868
2018-07-16 14:27:58 +12:00
Michael Hudson-Doyle d95f089a04 add arrows at end of scrollbar
for https://bugs.launchpad.net/subiquity/+bug/1781460
2018-07-16 12:44:38 +12:00
Michael Hudson-Doyle 53fb81a65b correctly call wrapped lost_focus in _Validator.lost_focus
fixes https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1781429
2018-07-16 12:44:38 +12:00
Michael Hudson-Doyle 5295a7c803 stop trying to display where a common mountpoint is already mounted
fixes https://bugs.launchpad.net/subiquity/+bug/1781454
2018-07-16 12:44:38 +12:00
Michael Hudson-Doyle 5a3f8dedb8
Merge pull request #385 from mwhudson/optional-if-dchp-fails
mark interfaces that have dhcp enabled but did not get an address as optional
2018-07-12 14:23:39 +12:00
Michael Hudson-Doyle f19a453e0e mark interfaces that have dhcp enabled but did not get an address as optional 2018-07-12 14:17:20 +12:00
Michael Hudson-Doyle 74e705ce95
Merge pull request #384 from mwhudson/bond
add bond support
2018-07-12 14:08:43 +12:00
Michael Hudson-Doyle 40a90a8894 depend on newer probert 2018-07-12 11:39:40 +12:00