-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Stephen Lowrie
committed
Mar 31, 2021
1 parent
5a1f829
commit bda6b72
Showing
3 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
layout: default | ||
nav_order: 9 | ||
nav_order: 10 | ||
--- | ||
|
||
# Development | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
layout: default | ||
nav_order: 8 | ||
--- | ||
|
||
# Distributor Notes | ||
{: .no_toc} | ||
|
||
1. TOC | ||
{:toc} | ||
|
||
## Kernel Arguments | ||
|
||
When Ignition is updating kernel arguments it will call out to a binary (defined in `internal/distro/distro.go` and overridable at build-time via overriding the `github.com/coreos/ignition/v2/internal/distro.kargsCmd` build flag). Ignition expects that the binary accepts `--should-exist` & `--should-not-exist` parameters. Should exist operations should append the argument if missing and should not exist should NOT fail if the argument is not present. The binary should also reboot the system if necessary. | ||
|
||
Distributors will also need to create a systemd unit in the initrd, the suggested ordering is after `ignition-fetch.service` and before `ignition-disks.service`. | ||
|
||
An example of the binary implementation look at [`examples/ignition-kargs-helper`](https://github.com/coreos/ignition/blob/master/examples/ignition-kargs-helper) & an example service unit is avialable at [`dracut/30ignition/ignition-kargs.service`](https://github.com/coreos/ignition/blob/master/examples/ignition-kargs.service). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
layout: default | ||
nav_order: 8 | ||
nav_order: 9 | ||
--- | ||
|
||
# Supported Platforms | ||
|