]> git.proxmox.com Git - pve-container.git/commit
Drop used unused volumes when writing config
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 1 Mar 2016 09:57:44 +0000 (10:57 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 1 Mar 2016 11:00:58 +0000 (12:00 +0100)
commit5e93304eb2d51c7a8b5186b3950624a7ce50f018
treea49fbf86fb8e407359d647b594e038820f960f9d
parent4d3d820192cc673cb7383757fab5d96efdb99c16
Drop used unused volumes when writing config

instead of only when updating the config via pct set or the
API.

This enables us to add unused volumes without calling
is_volume_in_use and mimics the behaviour in QemuServer.pm
src/PVE/LXC.pm