Change in vdsm[master]: bootstrap: perform reboot asynchronously

Alon Bar-Lev alonbl at redhat.com
Wed Sep 5 21:17:16 UTC 2012


Alon Bar-Lev has posted comments on this change.

Change subject: bootstrap: perform reboot asynchronously
......................................................................


Patch Set 1:

I thought of executing:

 sh -c "nohup setsid sh -c '( sleep 10 && reboot ) &' > /dev/null 2>&1"

But then remembered that python is the best! and done this in less than 50 python statements :)

--
To view, visit http://gerrit.ovirt.org/7783
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I0abb02ae4d5033a8b9f2d468da86fcdc53e2e1c2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>


More information about the vdsm-patches mailing list