]> git.proxmox.com Git - pve-manager.git/commitdiff
lxc: always allow blank mac address for autogeneration
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 9 Mar 2016 08:11:59 +0000 (09:11 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 9 Mar 2016 16:47:54 +0000 (17:47 +0100)
Same as with KVM.

www/manager/lxc/Network.js
www/manager6/lxc/Network.js

index 7d152cc8172427b92206955289005c25f58a55d0..933a22d1a88e8d31d704e18123ba0c860b2bec4b 100644 (file)
@@ -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'
            },
            {
index 211fddc9aa0642719b59829fcaa84510b1af63c3..ebac2c5ab51a1012b8bc9e9f85672027e834fc63 100644 (file)
@@ -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'
            },
            {