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
|
# 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
|
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.
|
||||||
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):
|
|
||||||
|
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://coreos.github.io/rpm-ostree/compose-server/
|
||||||
* https://www.osbuild.org/
|
* https://www.osbuild.org/
|
||||||
|
@ -4,7 +4,7 @@ keyboard us
|
|||||||
timezone --utc Etc/UTC
|
timezone --utc Etc/UTC
|
||||||
rootpw --plaintext rocky
|
rootpw --plaintext rocky
|
||||||
user --name=ansible --password=rocky --plaintext --gecos="Ansible User"
|
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
|
# Disk
|
||||||
zerombr
|
zerombr
|
||||||
|
24
commands.txt
24
commands.txt
@ -1,20 +1,6 @@
|
|||||||
mkdir -p build/repo
|
Commands/notes
|
||||||
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
|
||||||
# 2de keer
|
ostree --repo=./build/repo ls rocky/x86_64/ostree /etc
|
||||||
mkdir -p build/{repo,cache}
|
ostree --repo=./build/repo cat rocky/x86_64/ostree /usr/etc/passwd
|
||||||
ostree --repo=build/repo init --mode=archive
|
ostree --repo=./build/repo ls rocky/x86_64/ostree /usr/lib/systemd/system/*get*
|
||||||
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/
|
|
||||||
|
@ -1,16 +1,22 @@
|
|||||||
ref: rocky/${basearch}/coreos
|
ref: rocky/${basearch}/ostree
|
||||||
rojig:
|
rojig:
|
||||||
name: rocky-coreos
|
name: rocky-ostree
|
||||||
summary: "Rocky Linux CoreOS"
|
summary: "Rocky Linux Ostree"
|
||||||
license: MIT
|
license: MIT
|
||||||
packages:
|
packages:
|
||||||
- rocky-release
|
- rocky-release
|
||||||
|
|
||||||
|
releasever: 8
|
||||||
|
|
||||||
|
variables:
|
||||||
|
stream: testing
|
||||||
|
prod: false
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- rocky-86-baseos
|
- appstream
|
||||||
- rocky-86-appstream
|
- baseos
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- manifests/rocky-coreos-base.yaml
|
- manifests/rocky-ostree-base.yaml
|
||||||
- manifests/rocky-coreos-system_tools.yaml
|
- manifests/rocky-ostree-system_tools.yaml
|
||||||
- manifests/rocky-coreos-post.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
|
# Contains system (tools) packages which are often used on a regular
|
||||||
# system, but not needed for the base system to work
|
# system, but not needed for the base system to work
|
@ -1,7 +1,7 @@
|
|||||||
[rocky-86-appstream]
|
[appstream]
|
||||||
name=Rocky Linux 8.6 - AppStream
|
name=Rocky Linux $releasever - AppStream
|
||||||
#baseurl=http://dl.rockylinux.org/pub/rocky/8.6/AppStream/x86_64/os/
|
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-8
|
||||||
baseurl=http://192.168.122.89/repos/rocky86/AppStream/
|
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/AppStream/$basearch/os/
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=1
|
enabled=1
|
||||||
countme=1
|
countme=1
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[rocky-86-baseos]
|
[baseos]
|
||||||
name=Rocky Linux 8.6 - BaseOS
|
name=Rocky Linux $releasever - BaseOS
|
||||||
#baseurl=http://dl.rockylinux.org/pub/rocky/8.6/BaseOS/x86_64/os/
|
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-8
|
||||||
baseurl=http://192.168.122.89/repos/rocky86/BaseOS/
|
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/$basearch/os/
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=1
|
enabled=1
|
||||||
countme=1
|
countme=1
|
||||||
|
Loading…
Reference in New Issue
Block a user