Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 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
1 change: 1 addition & 0 deletions dracut/30ignition/flatcar-metadata-hostname.service
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ ConditionKernelCommandLine=|coreos.oem.id=packet
ConditionKernelCommandLine=|flatcar.oem.id=packet
ConditionKernelCommandLine=|flatcar.oem.id=hetzner
ConditionKernelCommandLine=|flatcar.oem.id=kubevirt
ConditionKernelCommandLine=|flatcar.oem.id=ionoscloud

OnFailure=emergency.target
OnFailureJobMode=isolate
Expand Down
4 changes: 4 additions & 0 deletions dracut/30ignition/ignition-setup-pre.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ if [ "${oem_cmdline}" = "pxe" ]; then
oem_cmdline="metal"
fi

if [ "${oem_cmdline}" = "ionoscloud" ]; then
oem_cmdline="qemu"
fi
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be removed when coreos/ignition#1957 is merged and released

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now I would recommend to prepare the PR in his final state. I will kick off a test build with your Ignition patch.


{ echo "OEM_ID=${oem_cmdline}" ; echo "PLATFORM_ID=${oem_cmdline}" ; } > /run/ignition.env