Hello, For the first example (with the users), it looks like the "home" directive is invalid. Looking at the documentation, I think it should be "homedir" instead. I've opened a pull request in cloud-init [1] to fix the documented example.
Looking at the second example now. [1] https://github.com/canonical/cloud-init/pull/5101 ** Also affects: cloud-init Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/2047796 Title: autoinstall: user-data validation fails for users or packages if they contain list of object Status in cloud-init: New Status in subiquity: New Status in subiquity package in Ubuntu: Confirmed Bug description: autoinstall.user-data schema validation failed in the following cases: * cannot define a user in user-config: autoinstall: user-data: users: - name: ubuntu plain_text_passwd: 'ubuntu' home: /home/ubuntu shell: /bin/bash lock_passwd: false gecos: Ubuntu all-oem-init groups: [adm, cdrom, dip, lxd, sudo] * cannot use packages[#].apt or packages[#].snap which contains a list of packages: autoinstall: user-data: packages: - snap: - certbot - [juju, --edge] - [lxd, --channel=5.15/stable] - apt: - mg These schemas documented in cloud-init documentations should be usable. To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/2047796/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

