]> git.proxmox.com Git - pve-container.git/commit
Refactor mountpoint and general conf methods
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 2 Mar 2016 13:03:51 +0000 (14:03 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 3 Mar 2016 09:16:33 +0000 (10:16 +0100)
commitd250604fbed41dcaad96193559f029dc2aaff974
tree5090a82426cc5855c6f75d955b7a5665ac6b8045
parent4518000bffe1a87b599cb8f631f659c77fb68226
Refactor mountpoint and general conf methods

Move add_unused_volume into abstract
pve-common/src/PVE/AbstractConfig.pm, because it is
identical for LXC and Qemu.

Move classify_mountpoint, is_volume_in_use, has_dev_console,
mountpoint_names, foreach_mountpoint_XX and get_vm_volumes
to PVE::LXC::Config because they only deal with config
related matters.

(Some of) the latter methods might get moved to or become
implementations of methods in PVE::AbstractConfig in the
future.
src/PVE/API2/LXC.pm
src/PVE/CLI/pct.pm
src/PVE/LXC.pm
src/PVE/LXC/Config.pm
src/PVE/LXC/Create.pm
src/PVE/LXC/Migrate.pm
src/PVE/VZDump/LXC.pm
src/lxc-pve-prestart-hook