Commit Graph

788 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 0e56b0cba0 Clean up systemd jobs.
The main visible effect of this is that if console-conf crashes or is killed
it restarts instantly rather than 90 seconds later. It also removes the flicker
where a getty gets started and then instantly killed during startup.
2016-09-01 22:33:00 +12:00
Mathieu Trudel-Lapierre d3e3e11a18 releasing package subiquity version 0.0.14 2016-08-31 16:22:53 -04:00
Mathieu Trudel-Lapierre d99d297c33 bin/console-conf-tui: drop requirement for /var/log/syslog to be readable. We don't actually go read it. 2016-08-31 16:21:59 -04:00
Mathieu Trudel-Lapierre 9161580c98 Revert "bin/console-conf-tui: drop requirement for /var/log/syslog to be readable. We don't actually go read it."
This reverts commit a7aeb13e99.
2016-08-31 16:21:01 -04:00
Mathieu Trudel-Lapierre a7aeb13e99 bin/console-conf-tui: drop requirement for /var/log/syslog to be readable. We don't actually go read it. 2016-08-31 14:57:01 -04:00
Mathieu Trudel-Lapierre 1fc2eb6c95 releasing package subiquity version 0.0.13 2016-08-31 01:07:06 -04:00
Mathieu Trudel-Lapierre 98cf79175e More shuffling for gettys: reinstate the wrapper for VTs, make sure we display the issue file. 2016-08-30 22:20:00 -04:00
Mathieu Trudel-Lapierre 7c9f75b4ee Yet more agetty tweaks to start console-conf correctly in a lazy manner. 2016-08-30 20:02:19 -04:00
Michael Hudson-Doyle e36e89ae83 Merge pull request #153 from CanonicalLtd/mwhudson/config-location
Overwrite the netplan config that snap firstboot creates.
2016-08-31 11:30:15 +12:00
Michael Hudson-Doyle 98d5d1b8a3 Merge branch 'master' into mwhudson/config-location 2016-08-31 11:27:58 +12:00
Michael Hudson-Doyle 4069cd1e35 forgotten changelog entry 2016-08-31 11:25:40 +12:00
Mathieu Trudel-Lapierre 0f39297de1 Merge pull request #152 from CanonicalLtd/mwhudson/no-bonding
hide bonding UI
2016-08-30 19:22:46 -04:00
Michael Hudson-Doyle c6b17fdf43 Overwrite the netplan config that snap firstboot creates. 2016-08-31 11:22:23 +12:00
Michael Hudson-Doyle 0214912151 hide bonding UI
As the version of netplan we are currently using does not support it.
2016-08-31 11:16:36 +12:00
Michael Hudson-Doyle 877101ba4f Merge pull request #151 from CanonicalLtd/mwhudson/no-way-out
prevent C-c / C-x from exiting console conf
2016-08-31 11:10:24 +12:00
Michael Hudson-Doyle 392644262b ignore SIGQUIT too 2016-08-31 11:10:03 +12:00
Michael Hudson-Doyle d6cf8e1bcf prevent C-c / C-x from exiting console conf
I've left C-x as a way to get out in dry-run mode as that's useful for
debugging.
2016-08-31 10:58:26 +12:00
Steve Langasek 7184f61937 debian/console-conf-wrapper: trap various signals in our shell script, as they should be in console-conf itself. 2016-08-30 15:31:50 -07:00
Mathieu Trudel-Lapierre ddbb1abc9f More wrapper fixes for serial console. 2016-08-30 16:59:15 -04:00
Mathieu Trudel-Lapierre 9065a68dc8 Misc bugfix for issues starting on serial console.
* debian/console-conf.*.serial: Start the console-conf wrappers from
  their path in /usr/share/subiquity; no need to have them in /usr/bin.
* bin/console-conf-serial-wrapper: add --serial to the command-line.
* debian/console-conf.serial-console-conf@.service: don't pass --serial,
  this is meant to be parameters to agetty, not to the login program.
2016-08-30 14:00:14 -04:00
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