[pve-devel] [PATCH manager] lxc: always allow blank mac address for autogeneration
Wolfgang Bumiller
w.bumiller at proxmox.com
Wed Mar 9 09:13:11 CET 2016
Forgot to mention: fixes #911
> On March 9, 2016 at 9:11 AM Wolfgang Bumiller <w.bumiller at proxmox.com> wrote:
>
>
> 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
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
More information about the pve-devel
mailing list