From c07c5e186fa07f6a118728199c6fc81c9ae4c8dc Mon Sep 17 00:00:00 2001 From: Schweby mit Hut Date: Thu, 24 Dec 2020 20:30:53 +0100 Subject: [PATCH] How to deploy to hainich --- configuration/hosts/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 configuration/hosts/README.md diff --git a/configuration/hosts/README.md b/configuration/hosts/README.md new file mode 100644 index 0000000..0572e22 --- /dev/null +++ b/configuration/hosts/README.md @@ -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. \ No newline at end of file