Commit Graph

1037 Commits

Author SHA1 Message Date
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 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 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
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
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
Michael Hudson-Doyle 0e31ef65ff confirm before writing data to disks 2017-03-22 14:26:10 +13: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
Michael Hudson-Doyle 32578fb35e make sure waiting for the default route times out properly
see https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1672803
2017-03-21 13:38:35 +13:00
Michael Hudson-Doyle 7d6f69c675 improve handling of situation where installation fails before we get to install progress screen 2017-03-20 15:04:07 +13:00
Michael Hudson-Doyle f1b97508fa dry-run fix 2017-03-20 15:03:32 +13:00
Michael Hudson-Doyle 26c1af8328 allow the gateway to be empty for an interface 2017-03-20 14:51:41 +13:00
Michael Hudson-Doyle ea96a72e9b Merge pull request #205 from CanonicalLtd/mwhudson/do-something-with-network-config
actually use the network config the user enters
2017-03-20 10:44:58 +13:00
Michael Hudson-Doyle af508aec56 do not use net.ifnames=0 in geninstaller 2017-03-17 14:04:26 +13:00
Michael Hudson-Doyle e6a4e39078 add a comment to curtin_write_network_config 2017-03-17 13:30:57 +13:00
Michael Hudson-Doyle a53b6cf80a a few tweaks and some more preventing curtin from doing what it does by default 2017-03-17 13:28:35 +13:00
Michael Hudson-Doyle fb995c8209 pass network config to netplan 2017-03-17 10:34:06 +13:00
Michael Hudson-Doyle 3f425c9e05 make the netplan file name and path depend (very slightly) on subiquity vs console-conf 2017-03-16 22:52:05 +13:00
Michael Hudson-Doyle 31d270c6c1 remove that silly grub splash image 2017-03-16 14:37:26 +13:00
Michael Hudson-Doyle a06b86380d disable cloud-init's network configuration in the installer and use netplan instead.
Addresses https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1654381, at
least for images made with geninstaller.
2017-03-16 14:03:38 +13:00
Michael Hudson-Doyle 6458135024 Merge pull request #204 from CanonicalLtd/mwhudson/filesystem-cleanups
rewrite filesystem model and views
2017-03-15 13:47:15 +13:00
Michael Hudson-Doyle 31650d0f8d remove most direct access to _attributes 2017-03-14 16:17:55 +13:00
Michael Hudson-Doyle 9b77d73bcc just pretend the disk is 2 megs smaller 2017-03-14 15:56:03 +13:00
Michael Hudson-Doyle 6bd15753e9 hackish workaround to allow adding the filesystem to the bios_grub partition 2017-03-14 15:23:05 +13:00
Michael Hudson-Doyle f964848e9f a few review comments 2017-03-14 15:17:24 +13:00
Michael Hudson-Doyle b73e3b7b9c another comment 2017-03-13 20:06:14 +13:00
Michael Hudson-Doyle 7c15103544 comment out old code, add some comments 2017-03-13 15:24:51 +13:00
Michael Hudson-Doyle 356767d1bf adjust and round size as needed 2017-03-13 15:24:19 +13:00
Michael Hudson-Doyle 23cb5de789 add python3-attr as a dependency 2017-03-13 15:23:39 +13:00
Michael Hudson-Doyle a822f560c4 fiddle with how % free is presented 2017-03-13 12:31:50 +13:00
Michael Hudson-Doyle c93194d0af do not show a swap partition as available 2017-03-13 12:12:27 +13:00
Michael Hudson-Doyle e4fd20dcf1 make reset on the filesystem view work again 2017-03-13 11:52:35 +13:00
Michael Hudson-Doyle 0d48ef1836 avoid wrapping captions in forms 2017-03-13 11:52:19 +13:00
Michael Hudson-Doyle 3ede268a77 some tweaking 2017-03-13 11:40:54 +13:00
Michael Hudson-Doyle e77747a5c7 start moving UI towards spec 2017-03-13 11:15:40 +13:00
Michael Hudson-Doyle 17f31e7213 fix an import 2017-03-13 10:38:08 +13:00