Compare commits
5 Commits
766acb88e4
...
d9db20a39e
Author | SHA1 | Date | |
---|---|---|---|
|
d9db20a39e | ||
|
ca71f4d777 | ||
|
18b2f705f9 | ||
|
5020dafa80 | ||
|
28c1019e47 |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
build/
|
||||
.direnv/
|
||||
.envrc
|
@ -1,6 +1,7 @@
|
||||
# Rocky Linux Ostree
|
||||
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):
|
||||
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):
|
||||
|
||||
* https://coreos.github.io/rpm-ostree/compose-server/
|
||||
* https://www.osbuild.org/
|
||||
|
@ -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-coreos --remote=rocky-coreos --ref=rocky/x86_64/coreos
|
||||
ostreesetup --nogpg --url=http://{{ dhcpd_next_server }}/ostree/repo/ --osname=rocky-ostree --remote=rocky-ostree --ref=rocky/x86_64/ostree
|
||||
|
||||
# Disk
|
||||
zerombr
|
||||
|
24
commands.txt
24
commands.txt
@ -1,20 +1,6 @@
|
||||
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:
|
||||
Commands/notes
|
||||
|
||||
|
||||
# 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/
|
||||
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*
|
||||
|
@ -1,16 +1,22 @@
|
||||
ref: rocky/${basearch}/coreos
|
||||
ref: rocky/${basearch}/ostree
|
||||
rojig:
|
||||
name: rocky-coreos
|
||||
summary: "Rocky Linux CoreOS"
|
||||
name: rocky-ostree
|
||||
summary: "Rocky Linux Ostree"
|
||||
license: MIT
|
||||
packages:
|
||||
- rocky-release
|
||||
|
||||
releasever: 8
|
||||
|
||||
variables:
|
||||
stream: testing
|
||||
prod: false
|
||||
|
||||
repos:
|
||||
- rocky-86-baseos
|
||||
- rocky-86-appstream
|
||||
- appstream
|
||||
- baseos
|
||||
|
||||
include:
|
||||
- manifests/rocky-coreos-base.yaml
|
||||
- manifests/rocky-coreos-system_tools.yaml
|
||||
- manifests/rocky-coreos-post.yaml
|
||||
- manifests/rocky-ostree-base.yaml
|
||||
- manifests/rocky-ostree-system_tools.yaml
|
||||
- manifests/rocky-ostree-post.yaml
|
||||
|
@ -1,4 +1,4 @@
|
||||
# config/manifests/rocky-coreos-system_tools.yaml
|
||||
# config/manifests/rocky-ostree-system_tools.yaml
|
||||
#
|
||||
# Contains system (tools) packages which are often used on a regular
|
||||
# system, but not needed for the base system to work
|
@ -1,7 +1,7 @@
|
||||
[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/
|
||||
[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/
|
||||
gpgcheck=1
|
||||
enabled=1
|
||||
countme=1
|
||||
|
@ -1,7 +1,7 @@
|
||||
[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/
|
||||
[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/
|
||||
gpgcheck=1
|
||||
enabled=1
|
||||
countme=1
|
||||
|
Loading…
Reference in New Issue
Block a user