commit by to_remotes 2023-09-20 12:29:09 +0200 from vmdevhw
parent
2bea40e54d
commit
c0f6328c6f
4
init.sh
4
init.sh
|
|
@ -39,6 +39,9 @@ if [ -d "$WA_REPO" ]; then
|
||||||
else
|
else
|
||||||
echo -n "client name: "
|
echo -n "client name: "
|
||||||
read -r CLIENT_NAME
|
read -r CLIENT_NAME
|
||||||
|
|
||||||
|
if [ -z $HOME/.ssh/deploy_key ]; then
|
||||||
|
|
||||||
echo "create ssh key"
|
echo "create ssh key"
|
||||||
echo -n "ssh passphrase: "
|
echo -n "ssh passphrase: "
|
||||||
|
|
||||||
|
|
@ -60,6 +63,7 @@ else
|
||||||
echo " "
|
echo " "
|
||||||
|
|
||||||
cat $HOME/.ssh/deploy_key.pub
|
cat $HOME/.ssh/deploy_key.pub
|
||||||
|
fi
|
||||||
|
|
||||||
echo " "
|
echo " "
|
||||||
echo -n "ready to pull? type yes: "
|
echo -n "ready to pull? type yes: "
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue