Re: [pve-devel] [PATCH qemu-server 1/1] add hookscripts to vms

2019-01-23 Thread Fabian Grünbichler
On Wed, Jan 23, 2019 at 03:34:56PM +0100, Dominik Csapak wrote: > On 1/23/19 3:27 PM, Fabian Grünbichler wrote: > > On Mon, Jan 21, 2019 at 09:44:35AM +0100, Dominik Csapak wrote: > > > this adds a new config option for it, and executes it on four > > > points in time: > > > > > > 'pre-start' > >

Re: [pve-devel] [PATCH qemu-server 1/1] add hookscripts to vms

2019-01-23 Thread Dominik Csapak
On 1/23/19 3:27 PM, Fabian Grünbichler wrote: On Mon, Jan 21, 2019 at 09:44:35AM +0100, Dominik Csapak wrote: this adds a new config option for it, and executes it on four points in time: 'pre-start' 'post-start' 'pre-stop' 'post-stop' on pre-start we abort if the script fails and pre-stop wil

Re: [pve-devel] [PATCH qemu-server 1/1] add hookscripts to vms

2019-01-23 Thread Fabian Grünbichler
On Mon, Jan 21, 2019 at 09:44:35AM +0100, Dominik Csapak wrote: > this adds a new config option for it, and executes it on four > points in time: > > 'pre-start' > 'post-start' > 'pre-stop' > 'post-stop' > > on pre-start we abort if the script fails > and pre-stop will not be called if the vm cra

[pve-devel] [PATCH qemu-server 1/1] add hookscripts to vms

2019-01-21 Thread Dominik Csapak
this adds a new config option for it, and executes it on four points in time: 'pre-start' 'post-start' 'pre-stop' 'post-stop' on pre-start we abort if the script fails and pre-stop will not be called if the vm crashes or if the vm gets powered off from inside the guest Signed-off-by: Dominik Csa