Compare commits

..

No commits in common. "d9db20a39e65f72e9c6989f653a346df70921218" and "766acb88e4159d601398381805efe9fd82ffa72c" have entirely different histories.

10 changed files with 39 additions and 35 deletions

3
.gitignore vendored
View File

@ -1,3 +0,0 @@
build/
.direnv/
.envrc

View File

@ -1,7 +1,6 @@
# 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](https://coreos.github.io/rpm-ostree/compose-server). Other sites with information about CoreOS and building custom OStree(s):
This repository contains all the bits to get a working Ostree for Rocky Linux (8.6). If you want to build a Rocky Linux CoreOS, in other words
a Red Hat CoreOS clone, then checkout [coreos-assembler](https://coreos.github.io/rpm-ostree/compose-server). Other sites with information about CoreOS and building custom OStree(s):
* https://coreos.github.io/rpm-ostree/compose-server/
* https://www.osbuild.org/

View File

@ -4,7 +4,7 @@ keyboard us
timezone --utc Etc/UTC
rootpw --plaintext rocky
user --name=ansible --password=rocky --plaintext --gecos="Ansible User"
ostreesetup --nogpg --url=http://{{ dhcpd_next_server }}/ostree/repo/ --osname=rocky-ostree --remote=rocky-ostree --ref=rocky/x86_64/ostree
ostreesetup --nogpg --url=http://{{ dhcpd_next_server }}/ostree/repo/ --osname=rocky-coreos --remote=rocky-coreos --ref=rocky/x86_64/coreos
# Disk
zerombr

View File

@ -1,6 +1,20 @@
Commands/notes
mkdir -p build/repo
cd build/
ostree --repo=repo init --mode=archive
sudo rpm-ostree compose tree --cachedir=/home/richard/rocky-coreos/build/cache --repo=/home/richard/rocky-coreos/build/repo config/manifest.yaml
sudo tar cvzf repo.tar.gz build/repo
scp repo.tar.gz root@192.168.122.89:
ostree --repo=./build/repo ls rocky/x86_64/ostree
ostree --repo=./build/repo ls rocky/x86_64/ostree /etc
ostree --repo=./build/repo cat rocky/x86_64/ostree /usr/etc/passwd
ostree --repo=./build/repo ls rocky/x86_64/ostree /usr/lib/systemd/system/*get*
# 2de keer
mkdir -p build/{repo,cache}
ostree --repo=build/repo init --mode=archive
sudo rpm-ostree compose tree --cachedir=/home/richard/rocky-coreos/build/cache --repo=/home/richard/rocky-coreos/build/repo config/manifest.yaml
####
ostree --repo=./build/repo ls rocky/x86_64/coreos
ostree --repo=./build/repo ls rocky/x86_64/coreos /etc
ostree --repo=./build/repo cat rocky/x86_64/coreos /usr/etc/passwd
ostree --repo=./build/repo ls rocky/x86_64/coreos /usr/lib/systemd/system/*get*
sudo rsync -av --delete /home/richard/rocky-coreos/build/repo root@192.168.122.89:/var/www/html/ostree/

View File

@ -1,22 +1,16 @@
ref: rocky/${basearch}/ostree
ref: rocky/${basearch}/coreos
rojig:
name: rocky-ostree
summary: "Rocky Linux Ostree"
name: rocky-coreos
summary: "Rocky Linux CoreOS"
license: MIT
packages:
- rocky-release
releasever: 8
variables:
stream: testing
prod: false
repos:
- appstream
- baseos
- rocky-86-baseos
- rocky-86-appstream
include:
- manifests/rocky-ostree-base.yaml
- manifests/rocky-ostree-system_tools.yaml
- manifests/rocky-ostree-post.yaml
- manifests/rocky-coreos-base.yaml
- manifests/rocky-coreos-system_tools.yaml
- manifests/rocky-coreos-post.yaml

View File

@ -1,4 +1,4 @@
# config/manifests/rocky-ostree-system_tools.yaml
# config/manifests/rocky-coreos-system_tools.yaml
#
# Contains system (tools) packages which are often used on a regular
# system, but not needed for the base system to work

View File

@ -1,7 +1,7 @@
[appstream]
name=Rocky Linux $releasever - AppStream
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-8
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/AppStream/$basearch/os/
[rocky-86-appstream]
name=Rocky Linux 8.6 - AppStream
#baseurl=http://dl.rockylinux.org/pub/rocky/8.6/AppStream/x86_64/os/
baseurl=http://192.168.122.89/repos/rocky86/AppStream/
gpgcheck=1
enabled=1
countme=1

View File

@ -1,7 +1,7 @@
[baseos]
name=Rocky Linux $releasever - BaseOS
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-8
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/$basearch/os/
[rocky-86-baseos]
name=Rocky Linux 8.6 - BaseOS
#baseurl=http://dl.rockylinux.org/pub/rocky/8.6/BaseOS/x86_64/os/
baseurl=http://192.168.122.89/repos/rocky86/BaseOS/
gpgcheck=1
enabled=1
countme=1