Arch Linux servers automation infrastructure
The goal is to automate the configuration of Arch Linux servers
at cjprods.org.
systemd
to its full potential.DynamicUser
, etc.)pacman
(alpm
, Arch Linux Package Manager) to its full potential.secret-*
has a correspondingexample-secret-*
.
# /etc/pacman.conf
[infra]
SigLevel = Optional TrustAll
Server = https://cjprods.org/infra-repo
# /etc/pacman.conf
[infra]
SigLevel = Optional TrustAll
Server = https://github.com/cjxgm/infra/releases/download/latest
Put the private key as secret.pem
, then package the private key:
make makepkg-private-key
Upload and install the private key package build/repo/infra-private-key-*.pkg.tar.xz
manually.
Now, pacman -Syu
, then install any wanted packages.
All packages provided by this repo has a prefix of infra-
.
secret.pem
.make setup
.secret-*
files, it’s better (for now) tomake unsetup
to cancel the effectsecret.key
.