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
20 lines
331 B
#
|
|
|
|
i="$1"
|
|
|
|
top=$(git rev-parse --show-toplevel)
|
|
export SITE=$top
|
|
export PATH=$top/bin:$PATH
|
|
|
|
echo "node$i: port=$port"
|
|
sed -e "s/port: .*/port: $port/" config0.yml > config$i.yml
|
|
|
|
gpg --decrypt local.key.asc | git-crypt unlock -
|
|
cp -p secrets/keys0.yml secrets/keys.yml
|
|
|
|
echo "your name ?"
|
|
read name
|
|
perl setidentity.pl "$name"
|
|
|
|
|
|
|