]> git.proxmox.com Git - pve-container.git/commit
restore: correctly handle fw config from archive
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 25 Jul 2019 12:40:42 +0000 (14:40 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 26 Jul 2019 06:58:06 +0000 (08:58 +0200)
commit2bf0815308252bd98b526c998f859b591b634b3c
treebe0e58a57c2d23edc3d11e17c9a9afed0cf3fc8f
parent92d4d6920ef760c53e26ae48b3b6ccd5a55241cb
restore: correctly handle fw config from archive

and skip restoring it if the user only has VM.Backup permissions, the
contained config file is a symlink, or if it is empty.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
(cherry picked from commit 391706445abd30f8f33d80baf58977016632bd19)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/API2/LXC.pm
src/PVE/LXC/Create.pm