Commit Graph

5 Commits

Author SHA1 Message Date
Adam Stokes 390bbdae02 Dont fail on curtin check if in dryrun
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-10-26 10:19:48 -04:00
Ryan Harper 8a441b8301 Introduce safer loading of machine configs
- Switch to yaml.safe_load() which throws errors when fed /dev/zero.
- Add a new ProberExecption and bubble that up to the main program
- Update unit tests to mock out repeated calls to safe_load which slowed
  down the unittest run.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-10-23 10:03:04 -05:00
Ryan Harper f43bca96a3 Add environment check on startup
Use an environment check function to test if the env is
configured for running subiquity.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-10-22 14:39:25 -05:00
Ryan Harper aba2963779 Add control-c signal handler
Control-c dumps python stack trace.  Instead, just exit cleanly by
hooking SIGINT.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-10-21 10:18:34 -05:00
Adam Stokes b16374fa8e Rename to subiquity-tui for package install
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-09-28 11:20:22 -04:00