[pve-devel] [PATCH manager] lxc: always allow blank mac address for autogeneration

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Mar 9 09:11:59 CET 2016


Same as with KVM.
---
 www/manager/lxc/Network.js  | 2 +-
 www/manager6/lxc/Network.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager/lxc/Network.js b/www/manager/lxc/Network.js
index 7d152cc..933a22d 100644
--- a/www/manager/lxc/Network.js
+++ b/www/manager/lxc/Network.js
@@ -126,7 +126,7 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
 		fieldLabel: gettext('MAC address'),
 		vtype: 'MacAddress',
 		value: cdata.hwaddr,
-		allowBlank: me.create,
+		allowBlank: true,
 		emptyText: 'auto'
 	    },
 	    {
diff --git a/www/manager6/lxc/Network.js b/www/manager6/lxc/Network.js
index 211fddc..ebac2c5 100644
--- a/www/manager6/lxc/Network.js
+++ b/www/manager6/lxc/Network.js
@@ -126,7 +126,7 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
 		fieldLabel: gettext('MAC address'),
 		vtype: 'MacAddress',
 		value: cdata.hwaddr,
-		allowBlank: me.create,
+		allowBlank: true,
 		emptyText: 'auto'
 	    },
 	    {
-- 
2.1.4





More information about the pve-devel mailing list