chore: improve naming for host file
This commit is contained in:
parent
5da8673244
commit
f108181be1
3 changed files with 3 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ writeShellScriptBin "ip-gather" ''
|
|||
set -euo pipefail
|
||||
|
||||
remote_host="''${1:-"administrator@olympus"}"
|
||||
output_file="''${2:-container_ips.json}"
|
||||
output_file="''${2:-hosts.json}"
|
||||
|
||||
generate_json() {
|
||||
echo "{"
|
||||
|
|
@ -32,5 +32,5 @@ writeShellScriptBin "ip-gather" ''
|
|||
generate_json > "$output_file"
|
||||
fi
|
||||
|
||||
echo "Container IPs saved to: $output_file"
|
||||
echo "hosts saved to: $output_file"
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue