[Libguestfs] [PATCH 0/2] Delay firstboot scripts to some later time

Tomáš Golembiovský tgolembi at redhat.com
Thu Nov 21 11:04:16 UTC 2019


When firstboot is used from virt-v2v the scripts, if not fast enough, can get
killed by Windows. After windows installs virtio drivers injected by virt-v2v
it performs some internall reboot, stopping all the running services and
killing any running firstboot script. This is problem mostly for MSI installs
(like qemu-ga that was added recently) that can take several seconds to finish.

This change is little bit controversial in fact that it relies on powershell.
This is not available in early versions (without service packs) of XP and 2003
and our support matrix still mentions these Windows versions.

The change can also be problem for those who really wish to perform an action
early in the boot... if there are such users.

Tomáš Golembiovský (2):
  firstboot: use absolute path to rhsrvany
  firstboot: schedule firstboot as delayed task

 mlcustomize/firstboot.ml | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

-- 
2.24.0





More information about the Libguestfs mailing list