You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
331 B

  1. #
  2. i="$1"
  3. top=$(git rev-parse --show-toplevel)
  4. export SITE=$top
  5. export PATH=$top/bin:$PATH
  6. echo "node$i: port=$port"
  7. sed -e "s/port: .*/port: $port/" config0.yml > config$i.yml
  8. gpg --decrypt local.key.asc | git-crypt unlock -
  9. cp -p secrets/keys0.yml secrets/keys.yml
  10. echo "your name ?"
  11. read name
  12. perl setidentity.pl "$name"