From 9b5133dcbb39114a7f7ab84e0313d4f7035df123 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Wed, 1 Feb 2023 10:25:20 -0700 Subject: Fuck it. Environment variable hack. --- buildscripts/build/build.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'buildscripts/build/build.sh') 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 -- cgit v1.2.3-70-g09d2