mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-24 21:34:01 +03:00
(cherry picked from commit 0047b0cc96
)
This commit is contained in:
parent
76d76aac2e
commit
3acf824d49
@ -255,6 +255,13 @@ define(function(require) {
|
||||
){
|
||||
current = currentTemplate[0].VMTEMPLATE.TEMPLATE;
|
||||
}
|
||||
if(
|
||||
current &&
|
||||
current.NIC_ALIAS &&
|
||||
!templateJSON.NIC_ALIAS
|
||||
){
|
||||
delete current.NIC_ALIAS;
|
||||
}
|
||||
}
|
||||
if (this.action == "create") {
|
||||
Sunstone.runAction(this.resource+".create", {"vmtemplate": templateJSON});
|
||||
|
Loading…
Reference in New Issue
Block a user