Last active
August 21, 2020 17:31
-
-
Save bh7cw/0bfc48fa9aa1c89f141d4207fe261902 to your computer and use it in GitHub Desktop.
not usfel, wrong size
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-disk-partition | |
spec: | |
config: | |
ignition: | |
version: 3.1.0 | |
storage: | |
disks: | |
- device: /dev/nvme0n1 | |
wipeTable: false | |
partitions: | |
- size_mib: 10240 | |
start_mib: 10240 | |
label: var-log | |
filesystems: | |
- path: /var/log | |
device: /dev/disk/by-partlabel/var-log | |
format: xfs | |
systemd: | |
units: | |
- name: var-log.mount | |
enabled: true | |
contents: | | |
[Unit] | |
Before=local-fs.target | |
[Mount] | |
Where=/var/log | |
What=/dev/disk/by-partlabel/var-log | |
[Install] | |
WantedBy=local-fs.target | |
fips: false | |
kernelArguments: null | |
kernelType: "" | |
osImageURL: "" |
units:
- name: var-log.mount
enabled: true
contents: |
[Unit]
Before=local-fs.target
RequiresMountFor=/var
[Mount]
Where=/var/log
What=/dev/disk/by-partlabel/var-log
[Install]
WantedBy=local-fs.target
fips: false
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
failed, because
/var/log
contains log informations, which is needed during creating cluster.