a little change since mutiline chpasswd is deprecated
This commit is contained in:
5
main.tf
5
main.tf
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user