Skip to content

Commit

Permalink
fetch: Inject headers from /usr/lib/os-release
Browse files Browse the repository at this point in the history
Depends: coreos/ignition#889

So that the openshift/machine-config-operator server can dispatch
on them to aid with Ignition spec 3 transitions.
  • Loading branch information
cgwalters committed Nov 22, 2019
1 parent d9e8a63 commit d7140da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dracut/30ignition/ignition-fetch.service
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ After=network.target
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/run/ignition.env
ExecStart=/usr/bin/ignition --root=/sysroot --platform=${PLATFORM_ID} --stage=fetch
EnvironmentFile=/usr/lib/os-release
ExecStart=/usr/bin/ignition --root=/sysroot --platform=${PLATFORM_ID} --stage=fetch \
--fetch-header ignition-os-id=${ID} --fetch-header ignition-os-version-id=${VERSION_ID}

0 comments on commit d7140da

Please sign in to comment.