A simple but powerful orchestrator, designed to be easy to use and API-first.
- Go 95.1%
- Shell 4.8%
Sans --dhcp-leasefile, toutes les instances écrivaient dans le fichier de baux par défaut du système : chacune relisait au démarrage des baux appartenant aux autres subnets, puis réécrivait le fichier avec les siens seulement. Sans effet visible jusqu'ici — les réservations étant statiques, l'adressage vient de la MAC et non du bail — mais la collision est réelle et se manifeste à chaque redémarrage d'une instance. Le fichier suit le même motif que le pidfile déjà en place, et vit dans /run : ces baux n'ont aucun sens sans le netns, qui ne survit pas au redémarrage de l'host. Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr> |
||
|---|---|---|
| .forgejo/workflows | ||
| api | ||
| cmd | ||
| conf/agent | ||
| internal | ||
| pkg | ||
| release_notes | ||
| scripts | ||
| systemd | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| README.md | ||
syonad
A simple but powerful orchestrator, designed to be easy to use and API-first.
deployer
curl 'https://git.g3e.fr/syonad/two/raw/branch/main/scripts/deploy.sh' -O
bash deploy.sh
mv deploy.sh /opt/two/bin/
curl 'https://git.g3e.fr/syonad/two/raw/branch/main/systemd/agent.service' -o '/etc/systemd/system/agent.service'
curl 'https://git.g3e.fr/syonad/two/raw/branch/main/systemd/dnsmasq@.service' -o '/etc/systemd/system/dnsmasq@.service'
curl 'https://git.g3e.fr/syonad/two/raw/branch/main/systemd/metadata@.service' -o '/etc/systemd/system/metadata@.service'
systemctl daemon-reload
modprobe br_netfilter
echo br_netfilter > /etc/modules-load.d/br_netfilter.conf