14 lines
307 B
YAML
14 lines
307 B
YAML
#cloud-config
|
|
hostname: ubuntu2404
|
|
manage_etc_hosts: true
|
|
users:
|
|
- name: ubuntu
|
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
|
shell: /bin/bash
|
|
ssh_authorized_keys:
|
|
- ssh-rsa AAAAB3Nz...tu_clave_ssh_publica
|
|
package_update: true
|
|
package_upgrade: true
|
|
runcmd:
|
|
- echo "Contenedor inicializado" > /etc/motd
|