Created
July 10, 2020 19:00
-
-
Save darkmuggle/51d97d1e8d6550512fc2c40b49f0ad7a to your computer and use it in GitHub Desktop.
test of v2, maybe
This file contains 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: master | |
name: 99-ignition-disks | |
spec: | |
config: | |
ignition: | |
version: 2.2.0 | |
storage: | |
disk: | |
- device: /var/xvdb | |
wipe_table: true | |
partition: | |
number: 0 | |
label: var-log | |
filesystems: | |
- name: var-log | |
mount: | |
device: /dev/xvdb | |
format: xfs | |
wipeFilesystem: true | |
create: true | |
label: var-log | |
path: /var/log | |
systemd: | |
units: | |
- contents: | | |
[Unit] | |
Before=local-fs.target | |
[Mount] | |
Where=/var/log | |
What=/dev/disk/by-partlabel/var-log | |
[Install] | |
WantedBy=local-fs.target | |
enabled: true | |
name: var-log.mount |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment