-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure the console by default only on particular platforms
Stop specifying console= kernel arguments by default, except on specific arch/platform pairs where we know we need them. Do the same with console configuration in grub.cfg. More info is in coreos/fedora-coreos-tracker#567. Read platforms.yaml from the config repo to determine what console settings should be applied for each arch/platform. Convert the table for the current arch to JSON and copy it to /boot/coreos/platforms.json in the image, since coreos-installer needs the same data when overriding the platform ID at install time. If platforms.yaml is missing, continue to apply the previous defaults. We do this in two places: create_disk.sh configures console settings for metal and qemu images from platforms.yaml. For other platforms, gf-set-platform reads platforms.json from the image, undoes any qemu-specific settings, and applies settings for the target platform.
- Loading branch information
Showing
4 changed files
with
78 additions
and
13 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
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