Skip to content

Commit d7140da

Browse files
committed
fetch: Inject headers from /usr/lib/os-release
Depends: coreos/ignition#889 So that the openshift/machine-config-operator server can dispatch on them to aid with Ignition spec 3 transitions.
1 parent d9e8a63 commit d7140da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dracut/30ignition/ignition-fetch.service

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ After=network.target
1616
Type=oneshot
1717
RemainAfterExit=yes
1818
EnvironmentFile=/run/ignition.env
19-
ExecStart=/usr/bin/ignition --root=/sysroot --platform=${PLATFORM_ID} --stage=fetch
19+
EnvironmentFile=/usr/lib/os-release
20+
ExecStart=/usr/bin/ignition --root=/sysroot --platform=${PLATFORM_ID} --stage=fetch \
21+
--fetch-header ignition-os-id=${ID} --fetch-header ignition-os-version-id=${VERSION_ID}

0 commit comments

Comments
 (0)