probar upgrade

This commit is contained in:
trigkeyb
2025-02-02 08:44:02 +01:00
parent 1e408cb79e
commit 3121598fec
2 changed files with 5 additions and 4 deletions

View File

@@ -27,6 +27,7 @@ ssh_pwauth: true
hostname: $VMHOST
manage_etc_hosts: true
fqdn: $VMHOST
package_update: true
runcmd:
- apt update && apt install git -y
- cd /root

View File

@@ -3,10 +3,10 @@
cp 50-cloud-init.yaml /etc/netplan/
# Actualización del sistema
apt update
# apt update
# Instalación del agente
apt install qemu-guest-agent -y
systemctl enable --now qemu-guest-agent
apt upgrade -y
# apt install qemu-guest-agent -y
# systemctl enable --now qemu-guest-agent
#apt upgrade -y