On Sun, Nov 8, 2015 at 5:44 PM, Brandon Jozsa <bjo...@gmail.com> wrote:

> I believe your cloud-init config isn't set up correctly?
>
>
That was my hypothesis, even if I've RTFM.
Thanks for replying.


> Try and use an example like the one I've posted on my blog:
> http://www.jinkit.com/openstack-magnum-devstack-deployment/
>
>
I've used now a similar config like the one you suggest in your blog, but
with no success.
Moreover I've tried to use the "runcmd" section. In the "user-data" file
I've inserted at the end:

runcmd:
  - echo "********* DBG ***********"
  - ifconfig
  - cat /etc/passwd
  - cat /etc/shadow
  - echo "********* DBG ***********"

I've understood that when executed this output goes to the console ! I've
recorded the virtual machine console output (I'm on Virtualbox) : I can see
all the bootup process till the "login:" prompt but not DBG output is there
in the console log of the machine.


How can I be sure that the "no cloud" plugin is executing? What should I
look for in the logs?!


>
> Then you can use authorized keys. (My recommendation is to use keys over
> passwords).
>
Yes - I would normally agree with you, but I'm one step before: I'm still
trying to get a functioning image :)


It seems that the user-data file is not read at all.
Someone is using this image with cloud-init successfully ?

Thanks!
-- Marco

Reply via email to