reboot
This commit is contained in:
@@ -27,7 +27,7 @@ ssh_pwauth: true
|
||||
hostname: $VMHOST
|
||||
manage_etc_hosts: true
|
||||
fqdn: $VMHOST
|
||||
package_update: true
|
||||
# package_update: true
|
||||
runcmd:
|
||||
- apt update && apt install git -y
|
||||
- cd /root
|
||||
|
||||
@@ -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
|
||||
reboot
|
||||
|
||||
Reference in New Issue
Block a user