users module does not allow ssh_import_id and ssh_authorized_keys at the same time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Medium
|
Unassigned |
Bug Description
I'm on ubuntu 22.04, using multipass 1.10.1 with a cloud-init file to instanciate a simple server:
```yaml
users:
- name: ubuntu
ssh_
- ssh-ed25519 AAAAC3NzaC1lZDI
ssh_import_id:
- lp:nrobinaubertin
```
I launch the instance with:
```shell
multipass launch -n simple_instance -d 10G -m 1G -c 1 --cloud-init cloud-init.yaml 22.04
```
And I check the authkeys file with:
```shell
multipass exec simple_instance -- cat /home/ubuntu/
```
The key from `ssh_authorized
From the documentation website and the examples given [here](https:/
Thanks, nrobinaubertin, for reporting this.
Could you please attach the instance logs[1]?
[1] https:/ /cloudinit. readthedocs. io/en/latest/ topics/ bugs.html# collect- logs