Skip to content

Commit 300ae6b

Browse files
ravanellijlebon
authored andcommitted
Add butane config for ppc64le 512e disks
- The ppc64le builder is slower than the other architectures during the build, after a long investigation with the disk, we noticed that FCOS installation process is looking at the logical partition of disk (512k) and not the physical (4k) one. As a workaround for now, reprovisioning it with xfs helps with part of the slowness, making it a little bit better. Signed-off-by: Renata Ravanelli <[email protected]>
1 parent 030e988 commit 300ae6b

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This butane config was especially created to be used with 512e disks,
2+
# and will do the following:
3+
#
4+
# - Merge in the builder-common.ign Ignition file
5+
# - Allow the builder user to log in with the associated ssh key
6+
# - Set a hostname
7+
# - Reprovision the root filesystem for optimal performance, see:
8+
# https://github.com/coreos/coreos-installer/pull/1056#issuecomment-1334051683
9+
#
10+
variant: fcos
11+
version: 1.4.0
12+
ignition:
13+
config:
14+
merge:
15+
- local: builder-common.ign
16+
passwd:
17+
users:
18+
- name: builder
19+
ssh_authorized_keys:
20+
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFsZ+IH1M1TWoBXz5uRe03gmk8waNrij0sDrPgTTb/rf builder@fcos-pipeline-ppc64le
21+
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID8cIzlrmq9NXHT320rg0J+eplyWUdAfNsDvHNBadUxx builder@rhcos-pipeline-ppc64le
22+
storage:
23+
disks:
24+
- device: /dev/disk/by-id/coreos-boot-disk
25+
partitions:
26+
- label: root
27+
number: 4
28+
size_mib: 0
29+
resize: true
30+
filesystems:
31+
- device: /dev/disk/by-partlabel/root
32+
wipe_filesystem: true
33+
format: xfs
34+
label: root
35+
options: [-m, reflink=1]
36+
files:
37+
- path: /etc/hostname
38+
mode: 0644
39+
overwrite: true
40+
contents:
41+
inline: coreos-ppc64le-builder

0 commit comments

Comments
 (0)