mirror of
https://github.com/containers/bootc.git
synced 2026-02-06 09:45:32 +01:00
Instead of erroring out if the spec is unchanged, just print a notice. This better matches Kubernetes default style. Signed-off-by: Colin Walters <walters@verbum.org>
939 B
939 B
nav_order
| nav_order |
|---|
| 3 |
Managing bootc systems
Performing offline updates via USB
In a usage scenario where the operating system update is in a fully
disconnected environment and you want to perform updates via e.g. inserting
a USB drive, one can do this by copying the desired OS container image to
e.g. an oci directory:
skopeo copy docker://quay.io/exampleos/myos:latest oci:/path/to/filesystem/myos.oci
Then once the USB device containing the myos.oci OCI directory is mounted
on the target, use
bootc switch --transport oci /var/mnt/usb/myos.oci
The above command is only necessary once, and thereafter will be idempotent.
Then, use bootc upgrade --apply to fetch and apply the update from the USB device.
This process can all be automated by creating systemd units that look for a USB device with a specific label, mount (optionally with LUKS for example), and then trigger the bootc upgrade.