]> git.proxmox.com Git - pve-container.git/commit
don't allow automatic restore to dev/bind rootfs
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 30 May 2016 12:40:24 +0000 (14:40 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 1 Jun 2016 05:46:54 +0000 (07:46 +0200)
commit7e0e7f38c95e3283ed1f8644db238d592bf5b8e4
tree2125500de8c0743846d6d18b22295584d9e3eac5
parent15e4d443b6855bf303597bc1ed01c79a70e1c557
don't allow automatic restore to dev/bind rootfs

we cannot delay the rootfs, but we also don't want
to automatically restore to a device or bind mount
because that might destroy existing data..

only allow this when explicitly requested via -rootfs
src/PVE/API2/LXC.pm