HR size for new VM new disks

This commit is contained in:
Fabrice Marsaud
2015-12-17 10:53:32 +01:00
parent f57ff5d5e0
commit 5e397dd01e

View File

@@ -187,6 +187,7 @@ module.exports = angular.module 'xoWebApp.newVm', [
for VDI in VDIs
VDI.id = VDI_id++
VDI.SR or= default_SR
VDI.size = bytesToSizeFilter VDI.size
# if the template is labeled CoreOS
# we'll use config drive setup
if template.name_label == 'CoreOS'