mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-18 02:50:09 +03:00
parent
c78d33f185
commit
a53478b42b
@ -255,12 +255,13 @@ define(function(require) {
|
||||
){
|
||||
current = currentTemplate[0].VMTEMPLATE.TEMPLATE;
|
||||
}
|
||||
if(
|
||||
current &&
|
||||
current.NIC_ALIAS &&
|
||||
!templateJSON.NIC_ALIAS
|
||||
){
|
||||
delete current.NIC_ALIAS;
|
||||
if(current) {
|
||||
if (current.NIC && !templateJSON.NIC) {
|
||||
delete current.NIC;
|
||||
}
|
||||
if(current.NIC_ALIAS && !templateJSON.NIC_ALIAS) {
|
||||
delete current.NIC_ALIAS;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.action == "create") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user