infrastructure/scripts/list-nodes.sh
Tom Hubrecht 3ad40c734f
All checks were successful
lint / check (push) Successful in 25s
build configuration / build_vault01 (push) Successful in 1m0s
build configuration / build_web02 (push) Successful in 59s
build configuration / build_storage01 (push) Successful in 1m3s
build configuration / build_compute01 (push) Successful in 1m6s
build configuration / build_web01 (push) Successful in 1m24s
feat(shell): Add list-nodes script
2024-02-19 23:14:27 +01:00

6 lines
154 B
Bash

#!@bash@/bin/bash
# shellcheck shell=bash
cd $(@git@/bin/git rev-parse --show-toplevel)
nix-instantiate --strict --eval --json -A nodes | @jq@/bin/jq .