ai / susedko

Fedora CoreOS ignition config for my home server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Susedko Home Server

Fedora CoreOS ignition config for my home server.

Prepare

To test locally or to flash image to USB drive you need:

sudo dnf install make podman qemu-system-x86-core

Save your Docker.io token to units/dockerhub/docker-auth.json:

{
  "auths": {
    "docker.io": {
      "auth": "YOUR_TOKEN"
    }
  }
}

Development

Run in one terminal:

make demo

And then run in another terminal:

make shell

Press Ctrl + A X to exit demo server shell.

Call make clean to remove all temporary files from the dir and system.

Install

Insert USB flash drive and call:

make flash

It will write image to /dev/sda. Change Makefile if you need another path.

Then insert drive to machine and boot it. It will automatically install system to /dev/mmcblk1 (change Makefile for another drive).

Other Setup

After re-installing the server you need to prepare some files on HDD.

Create backup:

borg init --encryption repokey-blake2 ai@susedko.local:/var/mnt/vault/ai/backup

Prepare ngrams and copy them to /var/mnt/vault/.config/ngrams

wget https://languagetool.org/download/ngram-data/ngrams-en-20150817.zip
wget https://languagetool.org/download/ngram-data/ngrams-es-20150915.zip
wget https://languagetool.org/download/ngram-data/untested/ngram-ru-20150914.zip
unzip ngrams-en-20150817.zip
unzip ngrams-es-20150915.zip
unzip ngram-ru-20150914.zip
rm ngram*.zip

About

Fedora CoreOS ignition config for my home server

License:MIT License


Languages

Language:JavaScript 49.5%Language:Makefile 36.3%Language:Shell 14.2%