Commit Graph

2216 Commits

Author SHA1 Message Date
Michael Hudson-Doyle bc916ddcc3 install the booted kernel
by reading the file the initramfs script now creates
2018-12-13 16:23:00 +13:00
Michael Hudson-Doyle ad1a0092f3 be more systematic about when to start postinstall configuration 2018-12-13 15:50:00 +13:00
Michael Hudson-Doyle 8cfca35e9c refill ssh form on going back to it 2018-12-13 15:15:34 +13:00
Michael Hudson-Doyle aebb0b2e2e fill identity fields if you go back to that form 2018-12-13 14:49:55 +13:00
Michael Hudson-Doyle 868e1ac47b convert example answers 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle c49120218e fix tests 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle f1ce5bcccd answers support 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle da6bb5022d include ssh-import-id in the snap 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle d394913d06 oops 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle 046fbb5e3e lint 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle 67299c6181 install openssh if the user chose it 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle f2d4e1ddc9 a bit more ui 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle ead723f474 remove ssh key stuff from identity screen 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle 2eb9420a75 move ssh key fetching over to ssh view 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle 16a853107e add form fields to ssh view 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle be16f4433c very bare SSH model/controller/view 2018-12-13 14:15:43 +13:00
Michael Hudson-Doyle e8bd1b8eb7 fix font equivalents 2018-12-13 14:14:47 +13:00
Michael Hudson-Doyle 56cd0a60a5
Merge pull request #404 from mwhudson/install-from-pool
configure curtin to be able to install packages from pool during installation
2018-12-13 13:51:16 +13:00
Michael Hudson-Doyle 0d5566dc9f oops + lint 2018-12-10 11:57:40 +13:00
Michael Hudson-Doyle 85b581e587 clean up apt configuration at end of install 2018-12-10 11:00:55 +13:00
Michael Hudson-Doyle e33476fa97 configure target to be able to install from pool
need to implement cleaning this up next
2018-12-07 14:47:43 +13:00
Michael Hudson-Doyle aae5ccdc29
Merge pull request #403 from mwhudson/checkmark
my attempt at a check mark
2018-11-29 15:39:27 +13:00
Dimitri John Ledkov 953af11bad
Merge pull request #401 from xnox/no-bios-grub
filesystem: do not create bios-grub partition on s390x.
2018-11-28 12:10:57 +00:00
Michael Hudson-Doyle aed58f099d my attempt at a check mark 2018-11-28 14:51:04 +13:00
Dimitri John Ledkov 67df43b46d filesystem: do not create bios-grub partition on s390x. 2018-11-27 12:24:28 +00:00
Michael Hudson-Doyle 1ff3f8ad06
Merge pull request #400 from xnox/s390-inject
scripts: add s390x support to inject-subiquity-snap
2018-11-27 13:08:54 +13:00
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