Ability to specify script to call at end of download rather than rebooting
Bug #1376758 reported by
James Hunt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu system image |
Invalid
|
High
|
Barry Warsaw |
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-
Since the desired behaviour could well be device/environment specific, maybe the reboot ability should also be pulled out of systemimage/
summary: |
- Ability to specify script to call at end of download + Ability to specify script to call at end of download rather than + rebooting |
Changed in ubuntu-system-image: | |
assignee: | nobody → Barry Warsaw (barry) |
status: | Triaged → In Progress |
To post a comment you must log in.
We have a [hooks]reboot setting in client.ini. The way to address this would be to add an appropriate implementation in a separate callable, and then point client.ini to this alternate implementation.