[pve-devel] [PATCH pve-container 2/8] use the disk-size property type
Wolfgang Bumiller
w.bumiller at proxmox.com
Thu Oct 1 10:58:27 CEST 2015
---
src/PVE/LXC.pm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index d5d1b15..dd39e49 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -39,9 +39,8 @@ my $rootfs_desc = {
optional => 1,
},
size => {
- type => 'string',
+ type => 'disk-size',
format_description => 'DiskSize',
- pattern => '\d+[TGMK]?',
description => 'Volume size (read only value).',
optional => 1,
},
--
2.1.4
More information about the pve-devel
mailing list