"Automatic provisioning tools usually waits for SSH to answer at the TCP
level and then expect things to work from here."

I'll let Scott handle the details, but as he mentioned by design runcmd
or user scripts run afterward anyway. To make sure that cloud-init
really is complete I happen to check on the existence of
/var/lib/cloud/instance/boot-finished - might that be an option for your
tools to use?

FYI - There also is a discussion about first initialization vs reboots
around this, see bug 1258113. Not really a duplicate, but it might be
worth to clarify if you care more about the initial deployment or any
later reboot (or both).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1633453

Title:
  ssh is started before cloud-init completed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1633453/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to