-
-
Save jdoss/0964f4c7572f6b76e9cdc9ac3658a7e9 to your computer and use it in GitHub Desktop.
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
{ | |
"ignition": { | |
"version": "3.3.0" | |
}, | |
"storage": { | |
"disks": [ | |
{ | |
"device": "/dev/disk/by-id/wwn-0001", | |
"partitions": [ | |
{ | |
"label": "bios-1", | |
"sizeMiB": 1, | |
"typeGuid": "21686148-6449-6E6F-744E-656564454649" | |
}, | |
{ | |
"label": "esp-1", | |
"sizeMiB": 127, | |
"typeGuid": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B" | |
}, | |
{ | |
"label": "boot-1", | |
"sizeMiB": 384 | |
}, | |
{ | |
"label": "root-1" | |
}, | |
{ | |
"label": "raid-root-1", | |
"number": 4, | |
"sizeMiB": 102400, | |
"startMiB": 0 | |
}, | |
{ | |
"label": "raid-home-1", | |
"number": 5, | |
"sizeMiB": 0 | |
} | |
], | |
"wipeTable": true | |
}, | |
{ | |
"device": "/dev/disk/by-id/wwn-0002", | |
"partitions": [ | |
{ | |
"label": "bios-2", | |
"sizeMiB": 1, | |
"typeGuid": "21686148-6449-6E6F-744E-656564454649" | |
}, | |
{ | |
"label": "esp-2", | |
"sizeMiB": 127, | |
"typeGuid": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B" | |
}, | |
{ | |
"label": "boot-2", | |
"sizeMiB": 384 | |
}, | |
{ | |
"label": "root-2" | |
}, | |
{ | |
"label": "raid-root-2", | |
"number": 4, | |
"sizeMiB": 102400, | |
"startMiB": 0 | |
}, | |
{ | |
"label": "raid-home-2", | |
"number": 5, | |
"sizeMiB": 0 | |
} | |
], | |
"wipeTable": true | |
}, | |
{ | |
"device": "/dev/disk/by-id/wwn-0003", | |
"partitions": [ | |
{ | |
"label": "var-opt", | |
"number": 1, | |
"sizeMiB": 0 | |
} | |
], | |
"wipeTable": true | |
} | |
], | |
"filesystems": [ | |
{ | |
"device": "/dev/disk/by-partlabel/esp-1", | |
"format": "vfat", | |
"label": "esp-1", | |
"wipeFilesystem": true | |
}, | |
{ | |
"device": "/dev/disk/by-partlabel/esp-2", | |
"format": "vfat", | |
"label": "esp-2", | |
"wipeFilesystem": true | |
}, | |
{ | |
"device": "/dev/md/md-boot", | |
"format": "ext4", | |
"label": "boot", | |
"wipeFilesystem": true | |
}, | |
{ | |
"device": "/dev/md/md-root", | |
"format": "xfs", | |
"label": "root", | |
"wipeFilesystem": true | |
}, | |
{ | |
"device": "/dev/md/fcos-root", | |
"format": "xfs", | |
"label": "root", | |
"wipeFilesystem": true | |
}, | |
{ | |
"device": "/dev/md/var-home", | |
"format": "xfs", | |
"label": "var-home", | |
"path": "/var/home", | |
"wipeFilesystem": true | |
}, | |
{ | |
"device": "/dev/disk/by-partlabel/var-opt", | |
"format": "xfs", | |
"label": "var-opt", | |
"path": "/var/opt", | |
"wipeFilesystem": true | |
} | |
], | |
"raid": [ | |
{ | |
"devices": [ | |
"/dev/disk/by-partlabel/boot-1", | |
"/dev/disk/by-partlabel/boot-2" | |
], | |
"level": "raid1", | |
"name": "md-boot", | |
"options": [ | |
"--metadata=1.0" | |
] | |
}, | |
{ | |
"devices": [ | |
"/dev/disk/by-partlabel/root-1", | |
"/dev/disk/by-partlabel/root-2" | |
], | |
"level": "raid1", | |
"name": "md-root" | |
}, | |
{ | |
"devices": [ | |
"/dev/disk/by-partlabel/raid-root-1", | |
"/dev/disk/by-partlabel/raid-root-2" | |
], | |
"level": "raid1", | |
"name": "fcos-root" | |
}, | |
{ | |
"devices": [ | |
"/dev/disk/by-partlabel/raid-home-1", | |
"/dev/disk/by-partlabel/raid-home-2" | |
], | |
"level": "raid1", | |
"name": "var-home" | |
} | |
] | |
}, | |
"systemd": { | |
"units": [ | |
{ | |
"contents": "# Generated by Butane\n[Unit]\nBefore=local-fs.target\nRequires=systemd-fsck@dev-md-var\\x2dhome.service\nAfter=systemd-fsck@dev-md-var\\x2dhome.service\n\n[Mount]\nWhere=/var/home\nWhat=/dev/md/var-home\nType=xfs\n\n[Install]\nRequiredBy=local-fs.target", | |
"enabled": true, | |
"name": "var-home.mount" | |
}, | |
{ | |
"contents": "# Generated by Butane\n[Unit]\nBefore=local-fs.target\nRequires=systemd-fsck@dev-disk-by\\x2dpartlabel-var\\x2dopt.service\nAfter=systemd-fsck@dev-disk-by\\x2dpartlabel-var\\x2dopt.service\n\n[Mount]\nWhere=/var/opt\nWhat=/dev/disk/by-partlabel/var-opt\nType=xfs\n\n[Install]\nRequiredBy=local-fs.target", | |
"enabled": true, | |
"name": "var-opt.mount" | |
} | |
] | |
} | |
} |
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
boot_device: | |
mirror: | |
devices: | |
- /dev/disk/by-id/wwn-0001 | |
- /dev/disk/by-id/wwn-0002 | |
storage: | |
disks: | |
- device: /dev/disk/by-id/wwn-0001 | |
wipe_table: true | |
partitions: | |
- label: raid-root-1 | |
number: 4 | |
size_mib: 102400 | |
start_mib: 0 | |
- number: 5 | |
label: raid-home-1 | |
size_mib: 0 | |
- device: /dev/disk/by-id/wwn-0002 | |
wipe_table: true | |
partitions: | |
- label: raid-root-2 | |
number: 4 | |
size_mib: 102400 | |
start_mib: 0 | |
- number: 5 | |
label: raid-home-2 | |
size_mib: 0 | |
- device: /dev/disk/by-id/wwn-0003 | |
wipe_table: true | |
partitions: | |
- label: var-opt | |
number: 1 | |
size_mib: 0 | |
raid: | |
- name: fcos-root | |
level: raid1 | |
devices: | |
- /dev/disk/by-partlabel/raid-root-1 | |
- /dev/disk/by-partlabel/raid-root-2 | |
- name: var-home | |
level: raid1 | |
devices: | |
- /dev/disk/by-partlabel/raid-home-1 | |
- /dev/disk/by-partlabel/raid-home-2 | |
filesystems: | |
- device: /dev/md/fcos-root | |
format: xfs | |
wipe_filesystem: true | |
label: root | |
- path: /var/home | |
device: /dev/md/var-home | |
format: xfs | |
wipe_filesystem: true | |
label: var-home | |
with_mount_unit: true | |
- path: /var/opt | |
device: /dev/disk/by-partlabel/var-opt | |
format: xfs | |
wipe_filesystem: true | |
label: var-opt | |
with_mount_unit: true |
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
storage: | |
disks: | |
- device: /dev/disk/by-id/wwn-00001 | |
wipe_table: true | |
partitions: | |
- label: raid-root-1 | |
number: 1 | |
size_mib: 102400 | |
start_mib: 0 | |
- number: 2 | |
label: raid-home-1 | |
size_mib: 0 | |
- device: /dev/disk/by-id/wwn-00002 | |
wipe_table: true | |
partitions: | |
- label: raid-root-2 | |
number: 1 | |
size_mib: 102400 | |
start_mib: 0 | |
- number: 2 | |
label: raid-home-2 | |
size_mib: 0 | |
- device: /dev/disk/by-id/wwn-00003 | |
partitions: | |
- label: var-opt | |
number: 1 | |
size_mib: 0 | |
raid: | |
- name: fcos-root | |
level: raid1 | |
devices: | |
- /dev/disk/by-partlabel/raid-root-1 | |
- /dev/disk/by-partlabel/raid-root-2 | |
- name: var-home | |
level: raid1 | |
devices: | |
- /dev/disk/by-partlabel/raid-home-1 | |
- /dev/disk/by-partlabel/raid-home-2 | |
filesystems: | |
- device: /dev/md/fcos-root | |
format: xfs | |
wipe_filesystem: true | |
label: root | |
- path: /var/home | |
device: /dev/disk/by-partlabel/var-home | |
format: xfs | |
wipe_filesystem: false | |
label: var-home | |
with_mount_unit: true | |
- path: /var/opt | |
device: /dev/disk/by-partlabel/var-opt | |
format: xfs | |
wipe_filesystem: false | |
label: var-opt | |
with_mount_unit: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment