template configuration auto start

This commit is contained in:
Solène Rapenne 2023-06-11 17:16:46 +02:00
parent 7c4be65a7f
commit 44090345ae

View File

@ -61,5 +61,9 @@ chmod +x /etc/rc.local
halt
EOF
./connect.sh openbsd-template uptime
cat $FILE | ssh -o StrictHostKeyChecking=no root@openbsd-template.kube "cat >/$FILE"
ssh -o StrictHostKeyChecking=no root@openbsd-template.kube "sh /$FILE"
rm "$FILE"