From c52709742531a2ffa2b47e06bb085b7d6326add9 Mon Sep 17 00:00:00 2001 From: Alexander Svan Date: Thu, 19 Dec 2024 12:38:32 +0100 Subject: [PATCH] also upgrade --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 93cbc1d..0592d17 100644 --- a/main.tf +++ b/main.tf @@ -85,7 +85,7 @@ resource "libvirt_cloudinit_disk" "commoninit" { runcmd: - swapoff -a - sed -i '/ swap / s/^/#/' /etc/fstab - - apt-get update && apt-get install -y apt-transport-https curl + - apt-get update && apt upgrade -y & apt-get install -y apt-transport-https curl - install -m 0755 -d /etc/apt/keyrings - curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc - chmod a+r /etc/apt/keyrings/docker.asc