subiquity/subiquity
Dan Bungert 5bd9a4fc94 server: fix when cloud-config has no default user
If a cloud-config is sent that adjusts the users but creates no default
user, Subiquity crashes with a exception while mishandling the None.

cloudinit.distros.ug_util.extract_default is documented as returning
None in the event that the default user cannot be found.

Example bad cloud-config:
```yaml
users:
- name: ubuntu-server
```
2023-06-29 15:51:01 -06:00
..
client use capabilities on the v1 api 2023-03-23 17:10:10 +13:00
cmd errorreport: get udi log 2023-04-11 18:35:09 -06:00
common Merge pull request #1690 from ogayot/list-oem 2023-06-13 19:05:59 +02:00
models Merge pull request #1690 from ogayot/list-oem 2023-06-13 19:05:59 +02:00
server server: fix when cloud-config has no default user 2023-06-29 15:51:01 -06:00
tests Merge pull request #1690 from ogayot/list-oem 2023-06-13 19:05:59 +02:00
ui Merge pull request #1532 from ogayot/edit-lvm-bug 2023-04-13 10:41:16 +02:00
__init__.py pep8 fix, imports at top 2018-05-24 16:59:32 -05:00
__main__.py loop: fix setuptools entry-points not using asyncio.run 2022-10-28 17:05:54 +02:00
journald.py journald: stop passing a loop 2022-12-06 16:58:21 -07:00
lockfile.py review feedback 2020-05-01 11:27:20 +12:00