mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-29 18:50:08 +03:00
M #~: add DEV_PREFIX when instantiate a VM Template (#2689)
This commit is contained in:
parent
446f31d1a3
commit
49478937ec
@ -230,6 +230,9 @@ define(function(require){
|
||||
IMAGE_ID: disk.IMAGE_ID,
|
||||
OPENNEBULA_MANAGED: disk.OPENNEBULA_MANAGED
|
||||
}
|
||||
if(disk.DEV_PREFIX){
|
||||
newDisk["DEV_PREFIX"] = disk.DEV_PREFIX
|
||||
}
|
||||
newDisk["SIZE"] = fields.SIZE // Always send the value of the size, as the default form has the value of the template
|
||||
disks.push(newDisk)
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user