chore: improve naming for host file
All checks were successful
/ check (push) Successful in 1m2s
/ deploy (push) Has been skipped

This commit is contained in:
Jermeiah S 2025-06-23 12:50:35 -04:00
parent 5da8673244
commit f108181be1
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ lib, config, ... }: { lib, config, ... }:
let let
hosts = builtins.fromJSON (builtins.readFile ../../../container_ips.json); hosts = builtins.fromJSON (builtins.readFile ../../../hosts.json);
in in
{ {
options.deploy = { options.deploy = {

View file

@ -7,7 +7,7 @@ writeShellScriptBin "ip-gather" ''
set -euo pipefail set -euo pipefail
remote_host="''${1:-"administrator@olympus"}" remote_host="''${1:-"administrator@olympus"}"
output_file="''${2:-container_ips.json}" output_file="''${2:-hosts.json}"
generate_json() { generate_json() {
echo "{" echo "{"
@ -32,5 +32,5 @@ writeShellScriptBin "ip-gather" ''
generate_json > "$output_file" generate_json > "$output_file"
fi fi
echo "Container IPs saved to: $output_file" echo "hosts saved to: $output_file"
'' ''