From 6dadb6e77979dd590e67544d47d24202420d0154 Mon Sep 17 00:00:00 2001 From: Alexander Svan Date: Thu, 19 Dec 2024 13:22:55 +0100 Subject: [PATCH] a little change since mutiline chpasswd is deprecated --- main.tf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.tf b/main.tf index b5876fd..9d62c73 100644 --- a/main.tf +++ b/main.tf @@ -69,10 +69,9 @@ resource "libvirt_cloudinit_disk" "commoninit" { #cloud-config ssh_pwauth: false disable_root: false + password: password chpasswd: - list: | - root:password - expire: false + expire: False users: - name: ubuntu sudo: ALL=(ALL) NOPASSWD:ALL