Files
ansible_proxmox_WOL/templates/90-wol.rules.j2

3 lines
175 B
Plaintext
Raw Normal View History

{% for interface in wol_final_interfaces %}
ACTION=="add", SUBSYSTEM=="net", KERNEL=="{{ interface }}", RUN+="/sbin/ethtool -s {{ interface }} wol {{ wol_mode }}"
{% endfor %}