This repository has been archived by the owner on Oct 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provisioning/sysext: Use architecture identifiers
The Butane configuration is architecture dependent because it pre-populates the extensions with Ignition. Add architecture identifiers and also recommend the shorter usage example that relies on the provided .conf sysupdate files.
- Loading branch information
Showing
1 changed file
with
6 additions
and
5 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 |
---|---|---|
|
@@ -117,7 +117,7 @@ Please make also sure that your don't have a `containerd.service` drop in file u | |
From Flatcar 3510.2.0, it is possible to use the `systemd-sysupdate` tool that covers the task of downloading newer versions of your sysext image at runtime from a location you specify. | ||
Here is an example using Butane: | ||
Here is a long example using Butane, the shorter recommended usage example is in the [sysext-bakery repo README](https://github.com/flatcar/sysext-bakery/tree/main#consuming-the-published-images): | ||
```yaml | ||
# butane < config.yaml > config.json | ||
# ./flatcar_production_qemu.sh -i ./config.json | ||
|
@@ -126,7 +126,7 @@ version: 1.0.0 | |
storage: | ||
links: | ||
- path: /etc/extensions/docker.raw | ||
target: /opt/extensions/docker/docker-24.0.5.raw | ||
target: /opt/extensions/docker/docker-24.0.5-x86-64.raw | ||
hard: false | ||
- path: /etc/extensions/docker-flatcar.raw | ||
target: /dev/null | ||
|
@@ -135,9 +135,9 @@ storage: | |
target: /dev/null | ||
overwrite: true | ||
files: | ||
- path: /opt/extensions/docker/docker-24.0.5.raw | ||
- path: /opt/extensions/docker/docker-24.0.5-x86-64.raw | ||
contents: | ||
source: https://github.com/flatcar/sysext-bakery/releases/download/20230803/docker-24.0.5.raw | ||
source: https://github.com/flatcar/sysext-bakery/releases/download/20230901/docker-24.0.5-x86-64.raw | ||
- path: /etc/systemd/system-generators/torcx-generator | ||
- path: /etc/sysupdate.d/noop.conf | ||
contents: | ||
|
@@ -158,7 +158,7 @@ storage: | |
[Source] | ||
Type=url-file | ||
Path=https://github.com/flatcar/sysext-bakery/releases/latest/download/ | ||
[email protected] | ||
MatchPattern=docker-@v-%a.raw | ||
[Target] | ||
InstancesMax=3 | ||
|
@@ -182,5 +182,6 @@ systemd: | |
``` | ||
|
||
This configuration will enable the `systemd-sysupdate.timer` unit that will check every 2-6 hours for a new Docker sysext image available from the latest release of [`sysext-bakery`][sysext-bakery]. | ||
Use `arm64` instead of `x86-64` for arm64 machines. | ||
|
||
[sysext-bakery]: https://github.com/flatcar/sysext-bakery |