[pve-devel] [PATCH manager 1/3] fix #5255: node: wol: add optional bind interface

Christian Ebner c.ebner at proxmox.com
Fri Mar 22 15:37:20 CET 2024


> On 21.03.2024 18:27 CET Thomas Lamprecht <t.lamprecht at proxmox.com> wrote:
> 
>  
> On 05/03/2024 13:54, Christian Ebner wrote:

> > +    'wakeonlan-bind-interface' => {
> > +	type => 'string',
> > +	description => 'Bind to this interface when sending wake on LAN packet',
> > +	format => 'pve-iface',
> > +	optional => 1,
> > +    },
> 
> we could transform the existing "wakeonlan" property into a format string,
> keep the new mac property as default_key there for backwards compat, kinda
> like "acme" is a format string in the same config.
> 
> For such a config option that would be IMO fitting and avoid bloating the
> "top-level" format.

Agreed, will send a new version with the suggested changes to the format
string.




More information about the pve-devel mailing list