Commit Graph

4549 Commits

Author SHA1 Message Date
Michael Hudson-Doyle c0ce60f767 start network view 2016-08-09 11:03:10 +12:00
Michael Hudson-Doyle 377bb841be move netconfig into console_conf 2016-08-09 11:03:10 +12:00
Michael Hudson-Doyle 5e3f808b36 some kind of NetworkConfig.from_probe_data
it's mostly lies but it'll do for now.
2016-08-09 11:03:10 +12:00
Michael Hudson-Doyle 553cb3b8da sketches 2016-08-09 11:03:10 +12:00
Michael Hudson-Doyle c052fa1aef Merge pull request #137 from CanonicalLtd/mwhudson/systemd-reorg-2
systemd reorganization

This branch changes the console-conf jobs to be depended on by the getty jobs via systemd drop-in files. It also moves log files and the completion marker file to more sensible places (this assumes your OS snap has ubuntu-core-config from the ppa in it) and uses systemctl stop to end all console-conf processes when done. This last bit isn't quite perfect -- it takes a surprisingly long time for the getty to appear after you press the 'finish' button, not sure what's going on there. Maybe we should only stop all console-conf processes other than 'us' and just exit normally... but this all seems to be an improvement.
2016-08-08 10:00:03 +12:00
Michael Hudson-Doyle 492f4e7bf9 UNRELEASED->xenial 2016-08-05 15:16:54 +12:00
Michael Hudson-Doyle eec8adf6f8 Stop all console-conf processes when complete. 2016-08-05 14:59:25 +12:00
Michael Hudson-Doyle 070a96bcc4 Write stamp file and logs to somewhere more sensible. 2016-08-05 14:41:50 +12:00
Michael Hudson-Doyle f9ebd17afe same for serial + fixes 2016-08-05 14:35:53 +12:00
Michael Hudson-Doyle a21aba4f11 use a drop-in file to run console-conf before getty 2016-08-05 14:35:00 +12:00
Mathieu Trudel-Lapierre e4e9edacfd Really drop curtin requirement. 2016-07-28 22:41:49 -04:00
Mathieu Trudel-Lapierre 046d3774ba Revert "Temporary unbreak, but nerf the user logins with email address."
This reverts commit 89c9e70501.
2016-07-28 20:51:48 -04:00
Mathieu Trudel-Lapierre 69cafa643a Merge branch 'mwhudson/demo' 2016-07-28 20:50:51 -04:00
Michael Hudson-Doyle dfb5eb6a15 oops 2016-07-29 12:48:53 +12:00
Mathieu Trudel-Lapierre 89c9e70501 Temporary unbreak, but nerf the user logins with email address. 2016-07-28 20:40:14 -04:00
Mathieu Trudel-Lapierre d3c0bb95d7 Merge branch 'mwhudson/demo' 2016-07-28 20:25:17 -04:00
Mathieu Trudel-Lapierre cee101d93e Merge branch 'master' of github.com:CanonicalLtd/subiquity 2016-07-28 20:20:27 -04:00
Michael Hudson-Doyle 481b7871c0 Merge pull request #135 from CanonicalLtd/mwhudson/less-curtin
Refactor so console-conf does not depend on curtin for user creation
2016-07-29 09:57:55 +12:00
Mathieu Trudel-Lapierre 1adbdaf79f Bump version 2016-07-28 16:52:10 -04:00
Mathieu Trudel-Lapierre 85682634f1 debian/control: move Depends on curtin from subiquitycore to subiquity. 2016-07-28 16:27:39 -04:00
Mathieu Trudel-Lapierre 495c024f3f Add __init__.py so subiquity is recognized as a module. 2016-07-28 16:26:16 -04:00
Michael Hudson-Doyle 6112c441b0 final (?) version 2016-07-28 14:34:48 +12:00
Michael Hudson-Doyle e4d5c7fa85 stuff 2016-07-28 11:13:19 +12:00
Michael Hudson-Doyle 95dc9664e5 Start at a login view. 2016-07-28 10:30:27 +12:00
Michael Hudson-Doyle c9d9f950c0 Being clever is overrated. 2016-07-27 22:45:49 +12:00
Michael Hudson-Doyle aa2bcdcd86 oops 2016-07-27 22:25:05 +12:00
Michael Hudson-Doyle fc1a828ad5 update firstboot-complete path in service files 2016-07-27 22:16:46 +12:00
Mathieu Trudel-Lapierre 1c7fbac977 Update paths to /writable for snappy 2016-07-27 22:16:26 +12:00
Michael Hudson-Doyle ec5f94bf7d entirely custom identity view for console-conf 2016-07-27 22:15:22 +12:00
Michael Hudson-Doyle ac06f25abd Refactor identity stuff to avoid dep on curtin in console-conf case.
A bit verbose perhaps, but works. Now console-conf only depends on curtin for
the network stuff.
2016-07-27 16:05:47 +12:00
Michael Hudson-Doyle bf1e280276 Make create_user resilient to e.g. spaces in the password. 2016-07-27 15:24:44 +12:00
Michael Hudson-Doyle dc11c6a27c Move function for creating a user to its own file. 2016-07-27 14:52:16 +12:00
Michael Hudson-Doyle 807bcfcde8 Merge pull request #134 from CanonicalLtd/mwhudson/cleanups
cleanups
2016-07-27 09:30:03 +12:00
Michael Hudson-Doyle f639aaff0c tweak formatting of import blocks 2016-07-26 16:03:03 +12:00
Michael Hudson-Doyle d9f596c994 Move disk and install things from subiquitycore to subiquity. 2016-07-26 16:00:36 +12:00
Michael Hudson-Doyle 2c749d944c Have console-conf and subiquity check differing environments.
This means that console-conf no longer needs to have hdparm installed.

I'm not sure console-conf needs to call this at all TBH.
2016-07-26 15:09:44 +12:00
Michael Hudson-Doyle 9edb676a9b Remove unused copies of controllers from console_conf.
These were the same as the corresponding file from subiquitycore and not
in fact imported by anything.
2016-07-26 14:43:22 +12:00
Michael Hudson-Doyle 04a6d88ffe rename ViewPolicy to BaseView 2016-07-26 14:21:24 +12:00
Michael Hudson-Doyle 809034728c rename ModelPolicy to BaseModel 2016-07-26 14:20:10 +12:00
Michael Hudson-Doyle f027382877 rename ControllerPolicy to BaseController 2016-07-26 14:17:30 +12:00
Mathieu Trudel-Lapierre 0b0ad660a3 Merge pull request #133 from CanonicalLtd/mwhudson/cleanups
cleanups
2016-07-25 18:03:54 -04:00
Michael Hudson-Doyle 264f698299 Fix flake8 warnings in subiquitycore.
Except for line length warnings, because life is too short of that.

A few of these are real bugs.
2016-07-25 14:44:51 +12:00
Michael Hudson-Doyle 1fdb035cdf Fix flake8 warnings in console_conf 2016-07-25 12:55:42 +12:00
Michael Hudson-Doyle e95daf25ba Re-introduce 'subiquity' package for installer specific things.
Only move the Application object for now.
2016-07-25 12:51:39 +12:00
Michael Hudson-Doyle 173fdcb77f rename subiquitycore.core.Controller to Application
Also CoreControllerError -> ApplicationError
2016-07-25 12:38:19 +12:00
Mathieu Trudel-Lapierre 8e6ff11fb7 curtin: note the need for --extrausers on snappy. 2016-07-09 13:07:52 -04:00
Mathieu Trudel-Lapierre 6235ae789e Revert "XXX: adduser with extrausers database"
This is more meant for console-conf on snappy; doesn't quite apply
to standard subiquity.

This reverts commit 4695735d79.
2016-07-09 13:05:26 -04:00
Mathieu Trudel-Lapierre 4695735d79 XXX: adduser with extrausers database 2016-07-09 13:04:42 -04:00
Mathieu Trudel-Lapierre 4e1bab7f55 Install systemd service files 2016-07-08 21:43:07 -04:00
Mathieu Trudel-Lapierre 9558c1a357 Update and clean up packaging to build separate binaries 2016-07-08 16:46:16 -04:00