Añadir cloud-init.yaml

This commit is contained in:
2025-11-05 18:19:52 +00:00
parent 0b34b5fee6
commit ce01f95c73

13
cloud-init.yaml Normal file
View File

@@ -0,0 +1,13 @@
#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