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
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
Mathieu Trudel-Lapierre
6268d92f6a
Add postinst tasks to subiquity for cleanup.
2017-03-15 10:39:35 -04: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
Mathieu Trudel-Lapierre
462f4053ac
Add snapcraft.yaml
2017-03-13 14:59:50 -04: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