forked from osbuild/osbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stages(kickstart): implement "reboot" option
This commit implements the `reboot` option for kickstart files. Note that there are two ways this can be enabled via the json. Either via a boolean or by passing a dict with options. ``` {"reboot": true} {"reboot": {"eject": true, "kexec": true} ``` Note that passing the empty dict will *not* write out a reboot line and the code also changes "clearpart" have have the same behavior to be consistent. ``` {"reboot": {}} ``` I can see arguments that passing the empty dict should still enable `reboot` without options. Happy to change it if someone has strong(er) opinions.
- Loading branch information
Showing
2 changed files
with
54 additions
and
3 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
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