diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js index e389c0957e..1d42570e78 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js @@ -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});