Commit Graph

1268 Commits

Author SHA1 Message Date
Michael Hudson-Doyle ef77910880 remove obsolete installer directory 2017-08-22 12:03:18 +12:00
Michael Hudson-Doyle eec72a34a6 add script to inject custom subiquity snap into downloaded iso 2017-08-22 12:02:33 +12:00
Michael Hudson-Doyle 73d20cd3b1 Merge pull request #215 from CanonicalLtd/mwhudson/better-initial-wording
make the initial screen a bit more comprehensible
2017-04-12 10:27:04 +12:00
Michael Hudson-Doyle 3a85200765 make the initial screen a bit more comprehensible 2017-04-11 14:08:36 +12:00
Michael Hudson-Doyle 5c3f12aac9 Merge pull request #212 from CanonicalLtd/mwhudson/disks-by-id
refer to disks in the UI by id not path
2017-04-07 10:27:01 +12:00
Michael Hudson-Doyle c424752291 Merge pull request #211 from CanonicalLtd/mwhudson/curtin-logging
do curtin log redirection inside subiquity

As per https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1677960 using the curtin config to specify the log file doesn't work if the log file is so invalid that curtin cannot process it. Do the log redirection in-process instead.

Also clean up curtin.py to stop constructing YAML by pasting strings together. This seems to make the ssh-import-id feature work.
2017-04-06 12:54:29 +12:00
Michael Hudson-Doyle d27367465f Merge branch 'master' into mwhudson/curtin-logging 2017-04-06 12:44:57 +12:00
Michael Hudson-Doyle ae5fee60c6 Merge pull request #207 from CanonicalLtd/cyphermox/snap
Add snapcraft.yaml and some fixes for working as a snap.
2017-04-06 12:40:45 +12:00
Michael Hudson-Doyle 689c3d34ec better alignment of size columns in file system summary 2017-04-06 11:54:03 +12:00
Michael Hudson-Doyle 802d664826 Merge pull request #213 from CanonicalLtd/mwhudson/escape-sanity
more straightforward handling of escape key
2017-04-06 09:54:52 +12:00
Michael Hudson-Doyle 9afd3cbc5a have escape always remove an overlay view 2017-04-05 15:20:36 +12:00
Michael Hudson-Doyle b3241d6b15 remove general clever escape handling 2017-04-05 15:16:30 +12:00
Michael Hudson-Doyle 387f2c7b76 stop trying to be clever handling escape in filesystem views 2017-04-05 15:12:22 +12:00
Michael Hudson-Doyle 395b30451e stop being clever in handling of escape in network screens 2017-04-05 14:36:46 +12:00
Michael Hudson-Doyle 618c4e6e72 do not crash in final console-conf screen if no host keys are read (mostly dry-run mode) 2017-04-05 14:26:28 +12:00
Michael Hudson-Doyle 19cd016207 Merge branch 'master' into mwhudson/disks-by-id
fixing silly humanize_size/_humanize_size conflicts
2017-04-04 14:31:44 +12:00
Michael Hudson-Doyle d8b5a1247e write to curtin log from subiquity, not curtin
for https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1677960
2017-04-04 14:08:56 +12:00
Michael Hudson-Doyle 9d2f9190e7 remove extraneous call 2017-04-04 13:36:31 +12:00
Michael Hudson-Doyle 7d4de873e0 stop constructing yaml by pasting strings together in curtin.py 2017-04-04 13:34:27 +12:00
Michael Hudson-Doyle eea4240bac Merge pull request #210 from CanonicalLtd/mwhudson/dehumanize_size-sanity
support lower case suffixes in dehumanize_size
2017-04-04 10:58:37 +12:00
Michael Hudson-Doyle 5620a58893 stop being clever when validating partition sizes 2017-04-03 14:37:48 +12:00
Michael Hudson-Doyle 1651e12837 rename _humanize_size to humanize_size (with sed) 2017-04-03 14:34:37 +12:00
Michael Hudson-Doyle a938e42497 accept downcased suffixes in dehumanize_size 2017-04-03 14:34:37 +12:00
Michael Hudson-Doyle e382aa0f80 rewrite dehumanize_size to be a bit more sensible and stick to integer maths
also add tests
2017-04-03 14:34:37 +12:00
Michael Hudson-Doyle 35511758dd rename _dehumanize_size to dehumanize_size 2017-04-03 14:34:37 +12:00
Michael Hudson-Doyle 3165c08bfc oops, do not shaddow type attribute with a method 2017-03-31 16:43:27 +13:00
Michael Hudson-Doyle 944d019a7b more filesystem view tweaks 2017-03-31 15:11:10 +13:00
Michael Hudson-Doyle 182f65fbd1 use serial rather than path in a few more places 2017-03-31 10:54:41 +13:00
Michael Hudson-Doyle d81bf74acd better alignments 2017-03-31 10:08:33 +13:00
Michael Hudson-Doyle 172bd99acc well it is something 2017-03-30 20:51:07 +13:00
Michael Hudson-Doyle dfaae805c2 releasing package subiquity version 0.0.29 2017-03-29 13:10:00 +13:00
Michael Hudson-Doyle 8e7242e50e changelog for 0.0.29 2017-03-29 13:05:45 +13:00
Michael Hudson-Doyle 30637be86d Merge pull request #209 from CanonicalLtd/mwhudson/console-conf-no-ip-no-crash
fix crash on startup with no ip address
2017-03-29 11:07:07 +13:00
Mathieu Trudel-Lapierre 3263249756 Quote ssh_import_id; as otherwise curtin can fail to parse the resulting yaml (because it contains a colon). 2017-03-28 17:33:17 -04:00
Mathieu Trudel-Lapierre 39348df975 Merge branch 'master' into cyphermox/snap 2017-03-28 16:49:20 -04:00
Mathieu Trudel-Lapierre 45146834f8 Remove extra cleanup; enable ds-identify for cloud-init. 2017-03-28 16:48:41 -04:00
Mathieu Trudel-Lapierre 295ae2882c Bump version for snap. 2017-03-28 16:22:44 -04:00
Michael Hudson-Doyle 435ed77ade fix crash on startup with no ip address
console-conf-write-login-details would crash if it ran before the system
got an ip address. re-jig things a bit so that it displays an nice message
when there is no ip address but still checks for a new address every 5s until
it finds one.
2017-03-28 15:54:50 +13:00
Michael Hudson-Doyle f79c1ab6b9 some other things that shouldn't end up in the source package... 2017-03-28 15:54:18 +13:00
Michael Hudson-Doyle 724d65e1b7 Merge pull request #208 from CanonicalLtd/mwhudson/confirmation-dialog
confirm before writing data to disks
2017-03-24 12:38:09 +13:00
Mathieu Trudel-Lapierre d0976cd4da Merge branch 'master' into cyphermox/snap 2017-03-23 11:49:18 -04:00
Michael Hudson-Doyle 10c3113f36 fix a typo in the text and put some more space around it 2017-03-23 11:00:10 +13:00
Michael Hudson-Doyle c49b810336 have IntegerEditor.value return an integer, fixing broken partition numbers in the curtin config 2017-03-23 09:02:37 +13:00
Mathieu Trudel-Lapierre 38ed2028ae Update snapcraft.yaml for added attrs python dependency. 2017-03-22 13:40:46 -04:00
Mathieu Trudel-Lapierre 4987e741d7 Merge branch 'master' into cyphermox/snap 2017-03-22 08:58:48 -04:00
Michael Hudson-Doyle 0e31ef65ff confirm before writing data to disks 2017-03-22 14:26:10 +13:00
Mathieu Trudel-Lapierre 24168b9099 Add /rofs as an install path; this is where the original read-only FS is using casper. 2017-03-21 18:09:46 -04:00
Michael Hudson-Doyle e8450009d0 Merge pull request #206 from CanonicalLtd/mwhudson/validate-wifi-password
validate wifi password to be between 8 and 63 chars
2017-03-22 10:20:49 +13:00
Michael Hudson-Doyle f8211b56fb clean up wifi config view code a bunch
(this was the first complicated urwid code i wrote)
2017-03-21 14:47:01 +13:00
Michael Hudson-Doyle 62ad81d690 make sure wifi psk is between 8 and 63 characters long 2017-03-21 14:39:23 +13:00