Public bug reported:

Currently, after downloading the latest image, system-image-cli reboots
the system.

It would be extremely useful if rather than hard-coding this, system-
image-cli could conditionally call a hook script when it has finished.
Ideally, it would be possible to specify this in /etc/system-
image/client.ini

Since the desired behaviour could well be device/environment specific,
maybe the reboot ability should also be pulled out of
systemimage/reboot.py so that by default, /etc/system-
image/hooks/default -> /etc/system-image/hooks/reboot.sh gets run, but
that could be overriden via client.ini.

** Affects: ubuntu-system-image
     Importance: High
         Status: Triaged


** Tags: client

** Summary changed:

- Ability to specify script to call at end of download
+ Ability to specify script to call at end of download rather than rebooting

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to system-image in Ubuntu.
https://bugs.launchpad.net/bugs/1376758

Title:
  Ability to specify script to call at end of download rather than
  rebooting

Status in Ubuntu system image (server/client/updater):
  Triaged

Bug description:
  Currently, after downloading the latest image, system-image-cli
  reboots the system.

  It would be extremely useful if rather than hard-coding this, system-
  image-cli could conditionally call a hook script when it has finished.
  Ideally, it would be possible to specify this in /etc/system-
  image/client.ini

  Since the desired behaviour could well be device/environment specific,
  maybe the reboot ability should also be pulled out of
  systemimage/reboot.py so that by default, /etc/system-
  image/hooks/default -> /etc/system-image/hooks/reboot.sh gets run, but
  that could be overriden via client.ini.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-system-image/+bug/1376758/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to