So, a bit more on the above. So as far as I can see, you should not be
able to ssh into a system until cloud-init.service is done (preventing
you from getting in with stale ssh keys), but you most certainly can get
in before 'runcmd' or user scripts are all finished.
That is mostly by design.
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
ssh is started before cloud-init completed
To manage notifications about this bug go to:
ubuntu-bugs mailing list