touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #23104
[Bug 1376758] Re: Ability to specify script to call at end of download rather than rebooting
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.
** Tags added: client
** Also affects: ubuntu-system-image
Importance: Undecided
Status: New
** No longer affects: system-image (Ubuntu)
** Changed in: ubuntu-system-image
Milestone: None => 3.0
** Changed in: ubuntu-system-image
Status: New => Triaged
** Changed in: ubuntu-system-image
Importance: Undecided => High
--
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
References