Skip to content

Commit

Permalink
Corrección de la generación de constellation.conf en los nodos genera…
Browse files Browse the repository at this point in the history
…les.
  • Loading branch information
Marcos Serradilla Diez committed Feb 12, 2018
1 parent 88b293b commit db17be0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,11 @@ if ( [ "general" == "$NODE_TYPE" ]); then
echo "[*] Initializing Constellation node."
if ( [ "backup" != "$1" ]); then
update_constellation_nodes "${CURRENT_HOST_IP}" "9000"
generate_conf "${CURRENT_HOST_IP}" "9000" "$CONSTELLATION_NODES" "${PWD}" > ~/alastria/data/constellation/constellation.conf
#generate_conf "${CURRENT_HOST_IP}" "9000" "$CONSTELLATION_NODES" "${PWD}" > ~/alastria/data/constellation/constellation.conf
fi
cd ~/alastria/data/constellation/keystore
cat ~/alastria/data/passwords.txt | constellation-node --generatekeys=node
generate_conf "${CURRENT_HOST_IP}" "9000" "$CONSTELLATION_NODES" "${PWD}" > ~/alastria/data/constellation/constellation.conf
cd ~/alastria/data/constellation/keystore
cat ~/alastria/data/passwords.txt | constellation-node --generatekeys=node
echo "______"
cd ~
fi
Expand Down

0 comments on commit db17be0

Please sign in to comment.