commit by to_remotes 2023-10-02 10:45:52 +0200 from vmdevac
parent
34e8dd8c1c
commit
4a583ada5d
4
init.sh
4
init.sh
|
|
@ -44,7 +44,7 @@ else
|
||||||
echo -n "client name: "
|
echo -n "client name: "
|
||||||
read -r CLIENT_NAME
|
read -r CLIENT_NAME
|
||||||
|
|
||||||
if [ -z $HOME/.ssh/deploy_key ]; then
|
if [ ! -f $HOME/.ssh/deploy_key ]; then
|
||||||
|
|
||||||
echo "create ssh key"
|
echo "create ssh key"
|
||||||
echo -n "ssh passphrase: "
|
echo -n "ssh passphrase: "
|
||||||
|
|
@ -106,7 +106,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [ -z $WA_REPO/node_type.sh ]; then
|
if [ ! -f $WA_REPO/node_type.sh ]; then
|
||||||
echo " "
|
echo " "
|
||||||
echo -n "init as master? type yes: "
|
echo -n "init as master? type yes: "
|
||||||
read -r init_as_master
|
read -r init_as_master
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue