netplan disables wake-on-lan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I'm not sure this counts as a bug.
We'd like to leave the wake-on-lan setting untouched, but NetPlan seems to be able to set it to any value, but not to leave it as is.
On Ubuntu 22.04 with netplan.io 0.105-0ubuntu2~
/run/
that turns wake-on-lan off:
'''
[Link]
Name=eth0
WakeOnLan=off
'''
I think this is because NetPlan's default for the wakeonlan setting is 'off'.
However, we'd like to be able to leave whatever wake-on-lan setting is on the nic to remain untouched.
I don't wish to express an opinion on the wisdom of a default of 'off'. Being able to specify 'wakeonlan=
Kind Regards
Jurjen
This is a valid feature request, not necessarily a bug. Netplan's default behavior is having "wakeonlan: false", so we cannot easily change that default.
But we could probably port the "wakeonlan" boolean value to something similar as NetplanTristate type, accepting an additional value.
As a workaround for now, you can create an override config: network/ 10-netplan- eth0.link. d/override. conf
$ cat /etc/systemd/
[Link]
WakeOnLan=