forked from hacc/haccfiles
How to deploy to hainich
This commit is contained in:
parent
8df76fd098
commit
c07c5e186f
1 changed files with 19 additions and 0 deletions
19
configuration/hosts/README.md
Normal file
19
configuration/hosts/README.md
Normal 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.
|
Loading…
Reference in a new issue