avoid upgrade since it wants answers

This commit is contained in:
Alexander Svan
2024-12-19 12:59:22 +01:00
parent c527097425
commit d9ae3b5146

View File

@@ -85,7 +85,7 @@ resource "libvirt_cloudinit_disk" "commoninit" {
runcmd:
- swapoff -a
- sed -i '/ swap / s/^/#/' /etc/fstab
- apt-get update && apt upgrade -y & apt-get install -y apt-transport-https curl
- apt-get update & 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