|
1 anno fa | |
---|---|---|
ansible | 1 anno fa | |
hosts | 1 anno fa | |
kubernetes | 1 anno fa | |
lib | 1 anno fa | |
secrets @ 573ca8e712 | 1 anno fa | |
.gitignore | 1 anno fa | |
.gitmodules | 2 anni fa | |
README.md | 1 anno fa | |
hq.nixops | 1 anno fa | |
install-host.sh | 2 anni fa | |
nix-maintenance.sh | 2 anni fa |
Beide failen bei Activation des neuen Profils. (TODO)
The official way for deployment is through deployer.serv.zentralwerk.org
Use deployer system:
ssh k-ot@172.20.73.9
cd nix-config/
nixops deploy -d hq --check --include=[hostname]
This does not work yet, as the nixos-system-x86_64-linux.tar.xz image is broken.
shell
ssh k-ot@172.20.73.16
cd nix-config/
nixops deploy -d hq --check --include=[hostname]
nixos-switch rebuild
nixos-rebuild switch -I nixos-config=./hosts/containers/$HOST/configuration.nix --target-host "root@$HOST.hq.c3d2.de"
Add your gpg-id to the .gpg-id file in secrets and let somebody reencrypt it for you.
Maybe this works for you, maybe not. I did it somehow:
PASSWORD_STORE_DIR=`pwd` tr '\n' ' ' < .gpg-id | xargs -I{} pass init {}
`
Your gpg key has to have the Authenticate flag set. If not update it and push it to a keyserver and wait. This is necessary, so you can login to any machine with your gpg key.