Created
          December 5, 2022 10:13 
        
      - 
      
 - 
        
Save saschagrunert/1a8b74a95f314fd78126ac5f4a265b43 to your computer and use it in GitHub Desktop.  
    MachineConfig for using https://github.com/saschagrunert/backingFsBlockDev
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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 run --privileged -v /var/lib/containers/storage/overlay:/var/lib/containers/storage/overlay quay.io/saschagrunert/backingfsblockdev:latest | |
| enabled: false | |
| name: backingfsblockdev.service | |
| - contents: | | |
| [Unit] | |
| Description="Run backingFsBlockDev.service" | |
| [Timer] | |
| OnBootSec=5min | |
| OnUnitActiveSec=30 | |
| 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