Re: [pve-devel] [PATCH qemu-server v2] implement 'edit' command for qm

2017-11-06 Thread Thomas Lamprecht
On 10/30/2017 01:52 PM, Dominik Csapak wrote: > edit the vm config via /usr/bin/editor (this can be set via > update-alternatives) minus the pending and snapshot sections (we do not > want to update those manually) > > Signed-off-by: Dominik Csapak > --- > changes from v1: > * use a tmpfile in /r

[pve-devel] [PATCH qemu-server v2] implement 'edit' command for qm

2017-10-30 Thread Dominik Csapak
edit the vm config via /usr/bin/editor (this can be set via update-alternatives) minus the pending and snapshot sections (we do not want to update those manually) Signed-off-by: Dominik Csapak --- changes from v1: * use a tmpfile in /run/VMID.conf.tmp.PID * check the digest before and after editi