]> 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:26:54 +0000 (08:26 +0200)
commit391706445abd30f8f33d80baf58977016632bd19
treeb7844668bc2cda789e3ca1d78a640d00bcb2d70a
parentd1671a80d5846fde9905e175a62903d346d2a1d1
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>
src/PVE/API2/LXC.pm
src/PVE/LXC/Create.pm