]> git.proxmox.com Git - pve-container.git/commit
added $skiplock parameter for pct start/stop
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 8 Feb 2016 07:48:26 +0000 (08:48 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 8 Feb 2016 11:08:25 +0000 (12:08 +0100)
commit2de0b3d4a3c9930201a3e798b1537cf81305184f
treeefac6b10a160164a8dc010194735de54f234c0cf
parentce9e64588bf7c91b544bf12e951510b19ce5e3c4
added $skiplock parameter for pct start/stop

Like with qemu the root user can use -skiplock with 'pct
start' and 'pct stop'.

This does not alter the container's lxc config, instead we
pass PVE_SKIPLOCK=1 via the environment which will be seen
from the prestart hook but not from inside the container.
src/PVE/API2/LXC/Status.pm
src/lxc-pve-prestart-hook