Go to file
2022-10-31 10:43:23 -04:00
live Add live 2022-09-29 19:46:06 -04:00
manifests Make machineid-compat false 2022-10-20 19:02:21 -04:00
overlay.d EL doesn't have --rereadpt 2022-10-18 14:59:48 -04:00
.gitignore excludes .idea via .gitignore 2022-10-31 10:02:31 -04:00
build.sh Reorder compose command options 2022-06-06 12:35:33 +02:00
commands.txt Remove coreos references 2022-06-06 19:20:45 +02:00
image-base.yaml ??? 2022-10-18 14:36:11 -04:00
image.yaml add image yaml 2022-09-29 18:04:01 -04:00
LICENSE Initial commit 2022-06-06 09:55:07 +02:00
manifest.yaml fixes postprocess for removing rltype 2022-10-31 10:43:23 -04:00
README.md Update README 2022-06-06 19:17:56 +02:00
rocky.repo add extras 2022-10-19 10:28:20 -04:00

Rocky Linux Ostree

This repository contains all the bits to get a working Ostree for Rocky Linux (8.6). Although Fedora and Red Hat CoreOS use (rpm)Ostree, this is NOT a CoreOS clone.

If you want to build a Rocky Linux CoreOS, in other words a Red Hat CoreOS clone, then checkout coreos-assembler. Other sites with information about CoreOS and building custom OStree(s):

Especially osbuild is a very nice project/tool which is now incorperated in the more recent Red Hat versions.

Dir: bootserver

Contains an Ansible playbook to configure a PXE bootserver

Dir: ostree-config

Contains the config files to build a basic Ostree for Rocky Linux

How to use

From the root directory of this project:

  • Create a build directory with the repo and cache directory below it. The repo directory will have the final OStree repository where you could boot from.
  • Initialize the ./build/repo directory as a OStree repository
  • Build the OStree repo
mkdir -p ./build/{repo,cache}
ostree --repo=./build/repo init --mode=archive
sudo rpm-ostree --unified-core compose tree  --cachedir=./build/cache  --repo=./build/repo config/manifest.yaml

When the compose state is finished, rsync the repo to the bootserver and network boot from it.

sudo rsync -av --delete ./build/repo root@192.168.122.89:/var/www/html/ostree/