Skip to content

Commit

Permalink
Make PreP partition the first partition for ppc64le
Browse files Browse the repository at this point in the history
The PreP partition needs to be the first partition for installation on most ppc systems
including powerVM which IBM is testing openshift installations on.
  • Loading branch information
Prashanth684 authored and jlebon committed Jan 29, 2020
1 parent bf51a82 commit c32579d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/create_disk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,15 @@ case "$arch" in
sgdisk -p "$disk"
;;
ppc64le)
BOOTPN=2
PREPPN=1
# ppc64le doesn't use special uuid for root partition
sgdisk -Z $disk \
-U 00000000-0000-4000-a000-000000000001 \
-n 2:0:+4M -c 2:PowerPC-PReP-boot -t 2:9E1A2D38-C612-4316-AA26-8B49521E5A8B \
-n ${PREPPN}:0:+4M -c ${PREPPN}:PowerPC-PReP-boot -t ${PREPPN}:9E1A2D38-C612-4316-AA26-8B49521E5A8B \
-n ${BOOTPN}:0:+384M -c ${BOOTPN}:boot \
-n ${ROOTPN}:0:${rootfs_size} -c ${ROOTPN}:root -t ${ROOTPN}:0FC63DAF-8483-4772-8E79-3D69D8477DE4
sgdisk -p "$disk"
PREPPN=2
;;
esac

Expand Down

0 comments on commit c32579d

Please sign in to comment.