❄️ The toolkit to build, ship and maintain cloud-init driven Linux derivatives based on container images
Go to file
Fredrik Lönnegren b9202d3d75 Add snapshotter.type flag to build-disk command
When building a disk image we do not specify the snapshotter, which
configures the expansion mechanism to set COS_STATE partition filesystem
to ext4.

The green flavor uses the btrfs snapshotter, which means when it boots
and tries to mount the COS_STATE partition it expects a btrfs
filesystem, but finds an ext4 one, which errors.

In this commit we add the --snapshotter.type flag to the build-disk
command and set the snapshotter in the Makefile accordingly.

Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
2025-09-30 11:54:41 +02:00
.github
.obs
cmd Add snapshotter.type flag to build-disk command 2025-09-30 11:54:41 +02:00
docs
examples
internal/version
make
pkg Add snapshotter.type flag to build-disk command 2025-09-30 11:54:41 +02:00
scripts
tests
vendor Bump github.com/jaypipes/ghw from 0.15.0 to 0.19.1 2025-09-22 11:18:24 +02:00
.codecov.yaml
.dockerignore
.gitignore
.gitmodules
.golangci.yml
.goreleaser.yaml
CODEOWNERS
CONTRIBUTING.md
Dockerfile
LICENSE
Makefile Add snapshotter.type flag to build-disk command 2025-09-30 11:54:41 +02:00
README.md
config.yaml.example
go.mod Bump github.com/jaypipes/ghw from 0.15.0 to 0.19.1 2025-09-22 11:18:24 +02:00
go.sum Bump github.com/jaypipes/ghw from 0.15.0 to 0.19.1 2025-09-22 11:18:24 +02:00
main.go

README.md

Elemental Toolkit

Build nightly

Elemental-toolkit is a toolkit to build, ship and maintain cloud-init driven Linux derivatives based on container images with a common featureset - allows container images to be bootable in VMs, baremetals, embedded devices, and much more.

It is designed to reduce the maintenance surface, with a flexible approach to provide upgrades from container registries. It is cloud-init driven and also designed to be adaptive-first, allowing easily to build changes on top.

Documentation is available at https://rancher.github.io/elemental-toolkit/docs

Design goals

  • A Manifest for container-based OS. It contains just the common bits to make a container image bootable and to be upgraded from, with little customization on top
  • Immutable-first, but with a flexible layout
  • Cloud-init driven
  • Based on systemd
  • Built and upgraded from containers
  • OTA updates
  • Easy to customize
  • Cryptographically verified

Quick start

Check out our getting-started section in the documentation.

License

Copyright (c) 2020-2024 SUSE, LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.