Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* More documentation work Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com> * Improve multi-arch handling GRUB_ARCH can be calculated in runtime, this makes toolkit Dockerfile and green-example Dockerfile able to be built with buildx --platform=linux/amd64,linux/arm64 flag at the same time. Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com> --------- Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
- Loading branch information
Showing
22 changed files
with
84 additions
and
260 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
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 was deleted.
Oops, something went wrong.
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,32 @@ | ||
--- | ||
title: "Embedded configuration" | ||
linkTitle: "Embedded configuration" | ||
weight: 3 | ||
date: 2023-08-31 | ||
description: > | ||
Extracting default system configuration | ||
--- | ||
|
||
Elemental-toolkit provides some default configuration files for the following components: | ||
|
||
- GRUB2 | ||
- Dracut | ||
- Cloud init files | ||
- Boot assessment | ||
|
||
These configuration files can be installed into a Derivative using the `elemental init`-command | ||
|
||
The `init`-command should be used inside the Dockerfile as in the following example: | ||
|
||
{{<githubembed repo="rancher/elemental-toolkit" file="examples/green/Dockerfile" lang="Dockerfile">}} | ||
|
||
The current features available for the `init`-command is: | ||
|
||
- immutable-rootfs: dracut configuration for mounting the immutable root filesystem. | ||
- grub-config: grub configuration for booting the derivative. | ||
- elemental-setup: services used for booting the system and running cloud-init files at boot/install/upgrade. | ||
- dracut-config: default dracut configuration for generating an initrd. | ||
- cloud-config-defaults: optional default settings for a derivative. | ||
- cloud-config-essentials: essential cloud-init files. | ||
|
||
|
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
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
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
Oops, something went wrong.