Moves the wakeonlan property to be a property string, with current mac
address as default key. This allows to later add further optional
properties such as bind-interface and broadcast-address.
Adds the `get_wakeonlan_config` helper function to parse the string
when read from the node config.
Sig
For certain network setups the default values currently used to send
a wake on lan magic packet are not correct, e.g. it will get send via
the interface for which the default gateway is configured.
This patches add optional configuration options to set a bind
interface, over which to send the WoL
Allows to optionally configure a local interface name to which to
bind to when sending a wake on lan packet to wake a remote node.
Default behaviour remains to send the packet via the interface for
the default gateway.
Signed-off-by: Christian Ebner
---
changes since version 1:
- Adapted to use
Allows to configure a custom broadcast address to use when sending a
wake on lan packet to wake a remote node.
Default behaviour remains to fallback to 255.255.255.255.
Signed-off-by: Christian Ebner
---
changes since version 1:
- Adapted to use property string
PVE/API2/Nodes.pm | 3 ++-
PVE/N
Show how to configure the optional bind interface and broadcast address
options via `pvenode`.
Signed-off-by: Christian Ebner
---
pvenode.adoc | 14 ++
1 file changed, 14 insertions(+)
diff --git a/pvenode.adoc b/pvenode.adoc
index 59eeecb..6cf5bc9 100644
--- a/pvenode.adoc
+++ b/pv
> On 22.03.2024 15:37 CET Christian Ebner wrote:
>
> Agreed, will send a new version with the suggested changes to the format
> string.
Version 2 of the patches:
https://lists.proxmox.com/pipermail/pve-devel/2024-March/062397.html
___
pve-devel maili
static -> defined manually
generated -> by ESXi
vpx -> generated by vCenter
Signed-off-by: Aaron Lauterer
---
src/PVE/Storage/ESXiPlugin.pm | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/PVE/Storage/ESXiPlugin.pm b/src/PVE/Storage/ESXiPlugin.pm
index 77fb6c0..c5ddfea
Am 26/03/2024 um 12:03 schrieb Aaron Lauterer:
> static -> defined manually
> generated -> by ESXi
> vpx -> generated by vCenter
nice!
> Signed-off-by: Aaron Lauterer
> ---
> src/PVE/Storage/ESXiPlugin.pm | 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/src/PVE/Stor
static -> defined manually
generated -> by ESXi
vpx -> generated by vCenter
Signed-off-by: Aaron Lauterer
---
src/PVE/Storage/ESXiPlugin.pm | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/PVE/Storage/ESXiPlugin.pm b/src/PVE/Storage/ESXiPlugin.pm
index 77fb6c0..c5ddfea
static -> defined manually
generated -> by ESXi
vpx -> generated by vCenter
Signed-off-by: Aaron Lauterer
---
src/PVE/Storage/ESXiPlugin.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/Storage/ESXiPlugin.pm b/src/PVE/Storage/ESXiPlugin.pm
index 77fb6c0..9c9f680 100
please ignore this one
On 2024-03-26 13:04, Aaron Lauterer wrote:
static -> defined manually
generated -> by ESXi
vpx -> generated by vCenter
Signed-off-by: Aaron Lauterer
---
src/PVE/Storage/ESXiPlugin.pm | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/PVE/Sto
sent a v2, unfortunately also one a bit too quickly (with no changes).
please ignore that one :)
On 2024-03-26 12:36, Thomas Lamprecht wrote:
Am 26/03/2024 um 12:03 schrieb Aaron Lauterer:
static -> defined manually
generated -> by ESXi
vpx -> generated by vCenter
nice!
Signed-off-by: Aa
by adding a new checkbox and render the grid accordingly.
If unique MAC addresses are enabled, set them to undefined when getting
the values from the grid.
Signed-off-by: Aaron Lauterer
---
not sure if setting `uniqueMac` directly on the component is okay.
Though we do that dynamically for the `
Bit of perl fun again.
$err from detect_country_tracing_to() can be empty string under certain
circumstances (according to a forum post [0]). The // operator
evaluates an empty as true, thus `warn` receives an empty string to and
just prints
Warning: something wrong at /usr/share/perl5/proxmox/I
14 matches
Mail list logo