✌️ユーザーデータ
Last updated
Was this helpful?
Was this helpful?
ssh -i /.ssh/id_rsa [email protected] #cloud-config
users:
- default
- name: user1
ssh_authorized_keys:
- ssh-rsa AAAAB3Nz... user1@domain
- name: user2
ssh_authorized_keys:
- ssh-rsa AAAAB3Nz... user2@domain #cloud-config
packages:
- docker.io
runcmd:
- systemctl enable docker
- systemctl start docker