Commit Graph

62 Commits

Author SHA1 Message Date
Ryan Harper 27a2f45216 Add grub2 and bootloader paramater to installer target
Default to grub2 for bootloader.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-07-21 19:06:58 -05:00
Ryan Harper e93ece6ea6 Fix wrong PYTHONPATH
Screwed up the merge and broke import path to probert.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-07-06 14:34:26 -05:00
Ryan Harper 2b06bdc1da Call curtin to complete install
- Use updated probert *Info class for accessing object data
- Add --dry-run parameter to prevent invoking curtin when testing
- Add new make target to run ui-view by default with --dry-run
- Use a template to write out curtin config file for installation
- Use virtio disks and multiple nics to test probing.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-07-06 12:34:24 -05:00
Adam Stokes 6dba22abc5 fix redrawing of screen in serial mode
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-30 17:53:12 -04:00
Adam Stokes 065863d451 Add AsyncioEventLoop shim for urwid versions shipped with Ubuntu
The virtualenv was proving more complicated to use during the
image building process. Broke off our own shim until Debian/Ubuntu
get newer urwid packages.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-30 16:08:42 -04:00
Adam Stokes 5adeaeb56b Use virtualenv to make use of urwid 1.3.0 and the asyncio library
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-30 13:02:39 -04:00
Adam Stokes 8826287e2f add probert to python path
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-29 11:15:11 -04:00
Ryan Harper 66c3c7a419 Add lint and unit targets
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-06-25 20:42:14 -05:00
Ryan Harper 29c2d3301e Add new menu choices (text vs serial)
Controls whether we launch subiquity over serial or on the tty.
Add installer resource files as dependencies to force image
regen when modified.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-06-17 15:47:28 -05:00
Ryan Harper fc269dff06 Use subiquity inside the install image
- Tar up the subiquity code and inject that into the user-data
 - Add support for encoding when adding binary files
 - Until we have a way to detect serial presence, run installer on tty1
 - Add power_state hook to shut machine off after subiquity exits
 - git status ignore image file in installer dir

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-06-16 14:45:05 -05:00
Ryan Harper a2ad7bf8ed Initial import of installer image building
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-06-15 14:38:51 -05:00
Adam Stokes 389fdf17cb Add initial start view, buttons, and utilities
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-10 16:59:55 -04:00