Commit Graph

618 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 7ca0763103 releasing package subiquity version 0.0.12 2016-08-30 15:58:42 +12:00
Michael Hudson-Doyle cabb32f790 update changelog 2016-08-30 15:57:57 +12:00
Michael Hudson-Doyle 4fac71f2b8 Merge pull request #150 from CanonicalLtd/mwhudson/better-network-wait
A better network wait
2016-08-30 15:54:56 +12:00
Michael Hudson-Doyle fedcb10560 add WaitForDefaultRouteTask, use it instead of networkd-wait-online
It polls though, sorry Mathieu!
2016-08-30 15:08:05 +12:00
Michael Hudson-Doyle fe8f99fbec an example of how to implement a task as python 2016-08-30 14:15:46 +12:00
Michael Hudson-Doyle 549c00279d refactor network application code so that it does not assume all steps are subprocesses 2016-08-30 14:14:08 +12:00
Michael Hudson-Doyle 0f164a02d6 update changelog 2016-08-30 12:42:14 +12:00
Michael Hudson-Doyle 0360e8caee Merge pull request #149 from CanonicalLtd/mwhudson/lp-1618239
Add a shell wrapper for console-conf
2016-08-30 12:40:30 +12:00
Michael Hudson-Doyle e44c02b0cd Merge branch 'master' into mwhudson/lp-1618239
Conflicts:
	debian/console-conf.serial-console-conf@.service
2016-08-30 12:39:13 +12:00
Mathieu Trudel-Lapierre dd1cc527db Merge pull request #148 from CanonicalLtd/mwhudson/lp-1617236
Use exist_ok when creating log directory
2016-08-29 20:34:58 -04:00
Michael Hudson-Doyle acbaa05eb7 Add a shell wrapper for console-conf
This is Steve's idea for reducing the RAM used at rest.
2016-08-30 12:16:42 +12:00
Mathieu Trudel-Lapierre 6a31a38f38 debian/console-conf.serial-console-conf@.service: start with --serial so we don't spew as many control chars on the serial interface. 2016-08-29 19:11:40 -04:00
Michael Hudson-Doyle f79c82a367 use os.makedirs with exist_ok to create log directory
Should fix LP: #1617236
2016-08-30 10:50:20 +12:00
Mathieu Trudel-Lapierre 4df5e6ef47 releasing package subiquity version 0.0.11 2016-08-29 18:50:15 -04:00
Mathieu Trudel-Lapierre 69ab3ef696 releasing package subiquity version 0.0.10 2016-08-25 21:58:08 -04:00
Mathieu Trudel-Lapierre c07930bac6 Release 0.0.10: we want subiquity on all architectures.
* Release 0.0.10: we want subiquity on all architectures.
* debian/control: the packages are Architecture: all.
2016-08-25 21:57:55 -04:00
Mathieu Trudel-Lapierre 2986564031 releasing package subiquity version 0.0.9 2016-08-23 16:20:22 -04:00
Mathieu Trudel-Lapierre 7d9d8b0199 Release 0.0.9:
* Release 0.0.9:
  - Probe network before showing Login screen.
2016-08-23 16:19:26 -04:00
Michael Hudson-Doyle ee0a3888bf releasing package subiquity version 0.0.8 2016-08-23 13:54:54 +12:00
Michael Hudson-Doyle 806e3fb86d do not crash when enabling DHCP on an interface with an address
Fixes #141
2016-08-23 13:48:47 +12:00
Michael Hudson-Doyle 0a2546b3bd do not probe network on returning from network sub-screen
otherwise we overwrite our settings with the probed data!
2016-08-23 12:47:55 +12:00
Michael Hudson-Doyle 045f1e5159 Merge pull request #144 from CanonicalLtd/mwhudson/network-model-simplify
simplify network model code a bit
2016-08-23 09:48:47 +12:00
Michael Hudson-Doyle bb5d7f98da Merge pull request #145 from CanonicalLtd/mwhudson/network-apply-ui
better ui for applying network configuration
2016-08-23 09:48:28 +12:00
Michael Hudson-Doyle 9ce7116f36 a touch more logging 2016-08-22 17:02:42 +12:00
Michael Hudson-Doyle a734e84980 refactor a bit 2016-08-22 17:02:42 +12:00
Michael Hudson-Doyle efa8ef43d2 allow configuration to be canceled 2016-08-22 17:02:42 +12:00
Michael Hudson-Doyle c658da012d factor some stuff out into an object
separation of concerns still pretty strange for now
2016-08-22 17:02:42 +12:00
Michael Hudson-Doyle ef01c7d291 break run_command in two
and use the two halves when applying network config (to allow cancellation)
2016-08-22 17:02:42 +12:00
Michael Hudson-Doyle 24347f1843 use run_command_async 2016-08-22 17:02:42 +12:00
Michael Hudson-Doyle e0a7aded85 update UI while apply network steps are running
as a special hack, the first time you apply changes in dry run mode it will
fail
2016-08-22 17:02:42 +12:00
Michael Hudson-Doyle 7679296653 split NETDEV_IGNORED_IFACES into NETDEV_IGNORED_IFACE_NAMES and NETDEV_IGNORED_IFACE_TYPES 2016-08-22 16:06:35 +12:00
Mathieu Trudel-Lapierre dbdb229d40 releasing package subiquity version 0.0.7
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-08-19 11:26:38 -04:00
Mathieu Trudel-Lapierre b82a6ea774 Prepare to release subiquity to an unsuspecting world.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-08-19 11:23:21 -04:00
Michael Hudson-Doyle aef546b8f0 make Networkdev devices eagerly
the flow is that get_all_interface_names is always called immediately after
probe_network, so being lazy does not save anything.
2016-08-19 11:34:46 +12:00
Michael Hudson-Doyle f8db1314ad simplify get_all_interfaces 2016-08-19 11:21:19 +12:00
Michael Hudson-Doyle bcfce74a12 kill off NetworkModel.network_devices
it is redundant with .info
2016-08-19 11:18:08 +12:00
Mathieu Trudel-Lapierre e02a4c8d55 Use netplan apply instead of restarting networkd ourselves.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-08-18 16:17:22 -04:00
Mathieu Trudel-Lapierre 958ab1a339 Show decent error messages on failure.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-08-18 16:15:28 -04:00
Michael Hudson-Doyle 2a540e11c1 fix passing username to welcome view 2016-08-17 20:54:00 +12:00
Michael Hudson-Doyle 9751b1a6b3 be more careful about checking exit statuses 2016-08-17 20:44:59 +12:00
Mathieu Trudel-Lapierre ade3c8b93d Only render dhcp if set to True 2016-08-16 22:23:39 -04:00
Mathieu Trudel-Lapierre 0c8deeece4 Update padding sizes for prettier output; account for future translations. 2016-08-16 22:15:41 -04:00
Mathieu Trudel-Lapierre 761403930c Changelog update. 2016-08-16 21:38:27 -04:00
Mathieu Trudel-Lapierre 60c58e6654 Merge branch 'cyphermox/network_v2' 2016-08-16 15:33:20 -04:00
Mathieu Trudel-Lapierre f49cdba274 Merge pull request #140 from CanonicalLtd/create-user-updates
adapt to new behavior of snap create-user.
2016-08-16 15:32:08 -04:00
Mathieu Trudel-Lapierre 0e93ab3e61 Check we're online, display network error otherwise. 2016-08-16 15:25:58 -04:00
Mathieu Trudel-Lapierre 0e92883a83 Make it a little more obvious where labels are in fact buttons or menus 2016-08-16 15:01:51 -04:00
Mathieu Trudel-Lapierre 410ddf74d7 Drop 'match' for yaml rendering: it's unnecessary while we don't provide a way to rename interfaces. 2016-08-16 14:32:23 -04:00
Mathieu Trudel-Lapierre 10d06a73e4 Allow clearing IP configuration 2016-08-16 14:14:25 -04:00
Mathieu Trudel-Lapierre 682181ae62 We shouldn't render empty bits; also add rendering for IPv6 default route 2016-08-16 12:59:52 -04:00