Skip to content

Commit

Permalink
coreos-ignition-firstboot-complete: call 'rdcore zipl' instead of 'zipl'
Browse files Browse the repository at this point in the history
This brings Secure Execution support.

Signed-off-by: Nikita Dubrovskii <[email protected]>
  • Loading branch information
nikita-dubrovskii committed May 18, 2022
1 parent 2564cfb commit fb401c5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ set -euo pipefail

mount -o remount,rw /boot

if [[ $(uname -m) = s390x ]]; then
zipl
fi

# We're done provisioning. Remove the whole /boot/ignition directory if present,
# which may include a baked Ignition config. See
# https://github.com/coreos/fedora-coreos-tracker/issues/889.
Expand All @@ -16,3 +12,7 @@ rm -rf /boot/ignition
# this file. Fail if we are unable to remove it, rather than risking rerunning
# Ignition at next boot.
rm /boot/ignition.firstboot

if [[ $(uname -m) = s390x ]]; then
/usr/lib/dracut/modules.d/50rdcore/rdcore zipl --boot-mount=/boot
fi

0 comments on commit fb401c5

Please sign in to comment.