removed ssh key adding and have it in template

This commit is contained in:
2026-02-03 09:55:26 -05:00
parent 85c069bf38
commit ccb3ce0e71
2 changed files with 1 additions and 11 deletions

10
Jenkinsfile vendored
View File

@@ -155,16 +155,6 @@ for row in data.get('rows', []):
} }
} }
stage('Copy Jenkins SSH Key') {
steps {
script {
sh """
ssh-copy-id -i /var/lib/jenkins/.ssh/id_ed25519.pub -o StrictHostKeyChecking=no jenkins@${env.VM_IP}
"""
}
}
}
stage('Set Hostname') { stage('Set Hostname') {
steps { steps {
script { script {

View File

@@ -1,4 +1,4 @@
--- ---
vm_template_id: "128" vm_template_id: "118"
vm_template_node: "homestrg1" vm_template_node: "homestrg1"
vm_template_hostname: "ubuntu24vm" vm_template_hostname: "ubuntu24vm"