fix: remove azure from template
All checks were successful
Provision & Configure / Terraform Apply (push) Successful in 1m53s
All checks were successful
Provision & Configure / Terraform Apply (push) Successful in 1m53s
This commit is contained in:
26
terraform/userdata_with_azure.tftpl
Normal file
26
terraform/userdata_with_azure.tftpl
Normal 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
|
Reference in New Issue
Block a user