a little change since mutiline chpasswd is deprecated

This commit is contained in:
Alexander Svan
2024-12-19 13:22:55 +01:00
parent d9ae3b5146
commit 6dadb6e779

View File

@@ -69,10 +69,9 @@ resource "libvirt_cloudinit_disk" "commoninit" {
#cloud-config #cloud-config
ssh_pwauth: false ssh_pwauth: false
disable_root: false disable_root: false
password: password
chpasswd: chpasswd:
list: | expire: False
root:password
expire: false
users: users:
- name: ubuntu - name: ubuntu
sudo: ALL=(ALL) NOPASSWD:ALL sudo: ALL=(ALL) NOPASSWD:ALL