27 lines
655 B
Plaintext
27 lines
655 B
Plaintext
#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
|