From: Wolfgang Bumiller Date: Thu, 1 Oct 2015 08:58:27 +0000 (+0200) Subject: use the disk-size property type X-Git-Url: https://git.proxmox.com/?p=pve-container.git;a=commitdiff_plain;h=48f27834aa00b2dc5824344a93cee0a74781597c use the disk-size property type --- 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, },