Comment 5 for bug 2011291

Revision history for this message
shixuantong (sxt1001) wrote :

I know what's going on.

this (https://github.com/canonical/cloud-init/pull/1971) patch is valid when ssh_keys is configured.

https://github.com/canonical/cloud-init/blob/main/cloudinit/config/cc_ssh.py#L212

the condition is met, the patch takes effect. However, in my scenario, the else branch is entered, and there is no permission control here.