]> git.proxmox.com Git - pve-container.git/commit
create: open templates as real root
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 26 Jun 2017 11:55:01 +0000 (13:55 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 26 Jun 2017 12:01:33 +0000 (14:01 +0200)
commit07084526aa4aa5980abbcac46fd244e691083ac6
treea1e0695864fdd9f096cf90e1f63c42eabd37c688
parent70b3c254b51b672ccc7e2175cfb1d65e18790ecb
create: open templates as real root

When creating an unprivileged container previously couldn't
open template files the unprivileged namespace did not have
access to. This fixes that.

Note that we cannot pass the file via stdin since tar will
then refuse to extract compressed archives automatically.
src/PVE/LXC/Create.pm