Bug while determining image size from the Marketplace
|Category:||Drivers - Auth|
|Target version:||Release 4.0|
|Affected Versions:||OpenNebula 3.8|
The regexp in libfs.sh script fs_size should be more permissive in order to deal with "size": "[SIZE]", type string. We discovered this error with our freshly uploaded appliance: http://marketplace.c12g.com/appliance/50a2552a8fb81d07f1000003
The problem is that the "size" item is not the last element, so there is a trailing comma, while with other appliances, the size item is the last one, so the regexp does not match.
Please check and apply the attached patch.