diff options
author | Logan Hunt <logan.hunt@usu.edu> | 2023-02-01 10:25:20 -0700 |
---|---|---|
committer | Logan Hunt <logan.hunt@usu.edu> | 2023-02-01 10:25:20 -0700 |
commit | 9b5133dcbb39114a7f7ab84e0313d4f7035df123 (patch) | |
tree | a650bc9babf4654749b426b0e21474fdfc5b6b04 /buildscripts/build/build.sh | |
parent | 0ad97a374a52cd1c7b8323fa82b53742c935f891 (diff) | |
download | chessh-9b5133dcbb39114a7f7ab84e0313d4f7035df123.tar.gz chessh-9b5133dcbb39114a7f7ab84e0313d4f7035df123.zip |
Fuck it. Environment variable hack.
Diffstat (limited to 'buildscripts/build/build.sh')
-rwxr-xr-x | buildscripts/build/build.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/buildscripts/build/build.sh b/buildscripts/build/build.sh index 3cc5717..5930c00 100755 --- a/buildscripts/build/build.sh +++ b/buildscripts/build/build.sh @@ -151,6 +151,7 @@ function build_server() { cp "${build_dir}/.env" $temp_file printf "\nNODE_ID=$node_conn\nRELEASE_NODE=chessh@192.168.100.${node_id}\nRELEASE_DISTRIBUTION=name\nRELEASE_COOKIE=chessh\n" >> $temp_file + printf "CLUSTER_NODES=$(printf "chessh@192.168.100.%s," ${server_node_ids[@]})\n" >> $temp_file scp $ssh_opts $temp_file $node_conn:~/.env cp "${build_dir}/chessh.service" $temp_file |