fix: remove azure from template
All checks were successful
Provision & Configure / Terraform Apply (push) Successful in 1m53s

This commit is contained in:
Ditmar Visser
2025-06-06 10:38:38 +00:00
parent 435f97bef9
commit a04a62c68b
5 changed files with 52 additions and 45 deletions

View File

@@ -0,0 +1,26 @@
#cloud-config
users:
- name: testuser
ssh-authorized-keys:
- ${skylab-ssh-public-key}
shell: /bin/bash
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
write_files:
- path: /home/testuser/.ssh/azure
content: |
${azure-ssh-private-key}
permissions: "0600"
owner: testuser:testuser
defer: true
- path: /home/testuser/.ssh/config
content: |
Host azurevm
HostName ${azure-vm-ip}
User testuser
IdentityFile ~/.ssh/azure
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
permissions: "0600"
owner: testuser:testuser
defer: true