Hello everyone. I've been following the Cloud-init integration guides in the ACS 4.16 documentation and noticed a problem with Ubuntu Server 20.04 LTS. In particular, the section "Specify the managed user" shows:
system_info : default_user : name : cloud - user lock_passwd : false # disable user password login - true/false sudo : [ \ "ALL=(ALL) ALL \" ] # User permissions disable_root : 0 # root remote login is 0 - enabled, 1 - disabled ssh_pwauth : 1 # password login is 0 - disabled, 1- enabled Adding this produces an error message when trying to use sudo. The error message is: $ sudo su >>> /etc/sudoers.d/90-cloud-init-users: syntax error near line 4 <<< sudo: parse error in /etc/sudoers.d/90-cloud-init-users near line 4 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin Removing the "\" in sudo : [ \ "ALL=(ALL) ALL \" ] seem to fix the problem for me. Could you please test this part again to make sure the users are producing working templates after following the instructions. Thanks Andrei