Squashed 'cluster-config/' content from commit 654f2390

git-subtree-dir: cluster-config
git-subtree-split: 654f23903bd1f9a27a4810bd289d165b6cfdbb0c
This commit is contained in:
2025-03-30 15:46:16 -05:00
commit fe564d7227
346 changed files with 11754 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
resources:
- wake-on-lan-mc.yaml

View File

@@ -0,0 +1,21 @@
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
name: 99-wol-service
labels:
kubernetes.io/os: linux
spec:
config:
ignition:
version: 3.2.0
systemd:
units:
- enabled: true
name: wol@<interface>.service
storage:
files:
- contents:
source: data:text/plain;charset=utf-8;base64,W1VuaXRdCkRlc2NyaXB0aW9uPVdha2Utb24tTEFOIGZvciAlaQpSZXF1aXJlcz1uZXR3b3JrLnRhcmdldApBZnRlcj1uZXR3b3JrLnRhcmdldAoKW1NlcnZpY2VdCkV4ZWNTdGFydD0vdXNyL3NiaW4vZXRodG9vbCAtcyAlaSB3b2wgZwpUeXBlPW9uZXNob3QKCltJbnN0YWxsXQpXYW50ZWRCeT1tdWx0aS11c2VyLnRhcmdldA==
mode: 0644
overwrite: true
path: /etc/systemd/system/wol@.service

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Wake-on-LAN for %i
Requires=network.target
After=network.target
[Service]
ExecStart=/usr/sbin/ethtool -s %i wol g
Type=oneshot
[Install]
WantedBy=multi-user.target