How to deploy to hainich

keep-around/c07c5e186fa07f6a118728199c6fc81c9ae4c8dc
Schweby mit Hut 2020-12-24 20:30:53 +01:00
parent 8df76fd098
commit c07c5e186f
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# deploy auf hainich
Auf hainich mit ssh verbinden.
Im root Verzeichnis sollte das haccfiles repro (das hier) liegen
Falls ja, einfach pullen
``git pull origin main;``
sonst erneut clonen
``git clone https://gitlab.infra4future.de/infra/haccfiles.git``
dann in das repro wechseln
``cd /root/haccfiles``
Und das ganze bauen
``nix build -f . -I nixpkgs=https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz deploy.hainich && ./result``
im Zweifeln am ende ``&& ./result test`` statt ``&& ./result``, um das ganze nur bis zum reboot zu behalten.