Skip to content

Instantly share code, notes, and snippets.

@rjhowe
Last active May 30, 2023 14:35
Show Gist options
  • Save rjhowe/1ac1251c83143bbfeea11ec504d7daf6 to your computer and use it in GitHub Desktop.
Save rjhowe/1ac1251c83143bbfeea11ec504d7daf6 to your computer and use it in GitHub Desktop.
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: worker
name: recreate-backingfsblockdev
spec:
config:
ignition:
version: 3.2.0
systemd:
units:
- contents: |
[Unit]
Description="Recreation of the backingFsBlockDev"
[Service]
ExecStart=podman info
enabled: false
name: backingfsblockdev.service
- contents: |
[Unit]
Description="Run backingFsBlockDev.service"
[Timer]
OnBootSec=5min
OnUnitActiveSec=60
Unit=backingfsblockdev.service
[Install]
WantedBy=multi-user.target
enabled: true
name: backingfsblockdev.timer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment