- Reset button will clear out any changes made to the filesystem model.
- Fixed Reset button label and callback.
- Reverted change to DiskPartitionView which called filesystem:finish instead
of returning back to FilesystemView.
- Fixed a few lint errors.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
This writes out the filesystem format to /tmp/subiquity-config.yaml
and exists the installer cleanly.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Depending on if partitions already exist or not will determine
if the add partition label shows the first gpt partition or just
a plain "add partition" label. For create swap it is disabled
and the color dimmed if partitions already exist.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
- Removed package list from installer-user-data, and added a placemarker
instead
- geninstaller inserts the package list INSTALLER_DEPS into
installer-user-data if OFFLINE is set to no, if OFFLINE is set to yes,
geninstaller chroots into rootfs and does apt-get install for everything in
INSTALLER_DEPS
- If geninstaller is run with -o or --offline, then during generate_img,
chroot into target and run apt-get install with all required packges for
subiquity.
- At the moment, cloud-init will still attempt to install packages when it
boots without network, then fail over to the next part of the init, and
eventually will run subiquity.
- While this is functional for an offline installer, it is preferrable to
tell cloud-init not to try to install packages, to avoid extra delays
and to keep errors out of the cloud-init log
Models/
Inherit a model policy that outlines the minimum requirements.
Things like exposed signals, menuing structure, and previous
controller are expected to be there.
Controllers/
Moved controller logic in a core controller which eases
the signal emitter to view mappings.
Signals/
Navigation and views are handled by a global Signal
class which manages all emitted signals and their
connection callbacks.
This also removes the need for having to define
callbacks in all of the view classes.
UI/
Made a dummy view availble for those that have
yet to be implemented.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
grub2 supports rebooting into the newly installed image so change
curtin_wrap to reboot upon successful install.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>