32 lines
729 B
Plaintext
32 lines
729 B
Plaintext
|
#cloud-config
|
||
|
|
||
|
# remove this block entirely if not using password authentication
|
||
|
password: ###PASSWORD###
|
||
|
ssh_pwauth: True
|
||
|
chpasswd: { expire: False }
|
||
|
|
||
|
package_upgrade: true
|
||
|
packages:
|
||
|
- git
|
||
|
- htop
|
||
|
- tmux
|
||
|
- wget
|
||
|
|
||
|
# replace with your own public key (e.g. ~/.ssh/id_rsa.pub)
|
||
|
ssh_authorized_keys:
|
||
|
- ###SSH_KEY_1###
|
||
|
- ###SSH_KEY_2###
|
||
|
- ###SSH_KEY_3###
|
||
|
|
||
|
users:
|
||
|
- default
|
||
|
- name: root
|
||
|
ssh_authorized_keys:
|
||
|
- ###SSH_KEY_1###
|
||
|
- ###SSH_KEY_2###
|
||
|
- ###SSH_KEY_3###
|
||
|
runcmd:
|
||
|
- [ "/usr/bin/wget" , "https://raw.githubusercontent.com/elico/ispmail-project/master/debian-bullseye-il-sources.list" , "-O" , "/etc/apt/sources.list.debian-11.in" ]
|
||
|
|
||
|
final_message: "The system is finally up, after $UPTIME seconds"
|