[pve-devel] [PATCH] lxc added to pool register method

Alen Grizonic a.grizonic at proxmox.com
Tue Jul 14 12:23:38 CEST 2015


Signed-off-by: Alen Grizonic <a.grizonic at proxmox.com>
---
 PVE/API2/Pool.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Pool.pm b/PVE/API2/Pool.pm
index 68ed337..567c7e8 100644
--- a/PVE/API2/Pool.pm
+++ b/PVE/API2/Pool.pm
@@ -222,7 +222,7 @@ __PACKAGE__->register_method ({
 		    type => "object",
 		    additionalProperties => 1,
 		    properties => {
-			type => { type => 'string', enum => ['qemu', 'openvz', 'storage'] },
+			type => { type => 'string', enum => ['qemu', 'lxc', 'openvz', 'storage'] },
 			id => { type => 'string' },
 			node => { type => 'string' },
 			vmid => { type => 'integer', optional => 1 },
-- 
2.1.4





More information about the pve-devel mailing list