Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Forcing PLATFORM_ID to openstack on s390x systems #145

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions dracut/30ignition/ignition-generator
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,9 @@ if [[ "${oemid}" == "digitalocean" ]]; then
add_requires coreos-digitalocean-network.service
fi

# Force openstack on s390x since fwd_config isn't available
if [[ $(uname -m) = s390x && "${oemid}" == "qemu" ]]; then
oem_id=openstack
fi

echo "OEM_ID=${oemid}" > /run/ignition.env