diff --git a/build.sh b/build.sh index f1eb763..86c96b4 100755 --- a/build.sh +++ b/build.sh @@ -21,7 +21,9 @@ sudo ignite vm start $NAME IP=$(sudo ignite vm ls | grep faas | cut -f9 -d\ ) waitport $IP 22 -scp -o "StrictHostKeyChecking no" setup.sh root@$IP: +ssh -o "StrictHostKeyChecking no" root@$IP mkdir -p /var/lib/faasd/secrets +ssh root@$IP "echo $(pass faas.ralsina.me) > /var/lib/faasd/secrets/basic-auth-password" +scp setup.sh root@$IP: ssh root@$IP sh setup.sh # Login