[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Do action after a vm reboots

  • To: <xen-devel@xxxxxxxxxxxxx>
  • From: "Vincent Jancso" <vincent.jancso@xxxxxxxxxxxxx>
  • Date: Tue, 29 Oct 2013 15:24:14 +0100
  • Delivery-date: Tue, 29 Oct 2013 14:24:36 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac7UsckOW71n8rldTk+zewI/1NRlsA==
  • Thread-topic: Do action after a vm reboots


I have a shell script, which will be executed every time I start a vm
with "xm create" or reboot a vm with "xm reboot"

To do this actions, I have edited the following files:


But if I reboot the vm by directly logging into it and type "reboot" or
"init6", my script won't be executed.

So my question:

Which script/function of xen will be executed, if a user reboot his vm
by typing "reboot" or "init 6" ?

Vincent Jancso

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.