diff --git a/vars/nebula.groovy b/vars/nebula.groovy index 88f3f1c..539be15 100644 --- a/vars/nebula.groovy +++ b/vars/nebula.groovy @@ -149,7 +149,7 @@ def runInNewVM(Map args) { initWithCredentials(urlCredentialsId, userCredentialsId) { client -> client.withNewVM(vmTemplate, terminateOnExit) { host -> - def sshArgs = "-i '${VM_SSH_KEY}' -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" + def sshArgs = "-i \'${VM_SSH_KEY}\' -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" // On attend que la connexion SSH soit disponible println "En attente de l'accès SSH..."