pve_service #67

Merged
erdnaxe merged 11 commits from pve_service into master 2021-11-22 18:32:23 +01:00
2 changed files with 7 additions and 4 deletions
Showing only changes of commit 6e77b4cb3c - Show all commits

View file

@ -88,9 +88,12 @@ On va utiliser plutôt `ProxyJump`.
Dans la configuration SSH :
```
# Use a proxy jump server to log on all Aurore inventory
Host 10.128.0.* *.adm.auro.re
ProxyJump passerelle.auro.re
Host *.adm.auro.re *.pve.auro.re
# Accept new host keys
StrictHostKeyChecking accept-new
# Use routeur-aurore to connect to administration VLANs
ProxyJump routeur-aurore.auro.re
```
Il faut sa clé SSH configurée sur le serveur que l'on déploit.

View file

@ -15,6 +15,6 @@ for host in $HOSTS; do
# sshpass can be used for non-interactive password authentication.
# place your password in ldap-password.txt.
SSHPASS=${passwd} sshpass -v -e ssh-copy-id -i ~/.ssh/id_rsa "$host"
SSHPASS=${passwd} sshpass -v -e ssh-copy-id "$host"
done