[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[atomic-devel] Fedora && cloud-init



Hi to everyone!
I've downloaded the Qcow2 formatted image of Fedora 23 atomic, and I'm trying to let cloud-init setup my initial access.
The problem is that I cannot login through the console ! The password for the "fedora" user is not setup and even the hostname isn't setup.
I'm probably missing something important but here is my configuration.

By using a local iso images I'm providing the "meta-data" and "user-data" files for initial setup.
The content of my user-data is as follows:
#cloud-config
ssh_pwauth: False
chpasswd:
  list: |
     root:somepwd
     fedora:somepwd
     cloud-user:somepwd
  expire: False

The content of my meta-data is as follows:
instance-id: atomic-host002
local-hostname: atomic02.local

And I'm changing the instance-id every time I try to provide a different configuration!

Every time my fedora starts up, the hostname isn't setup and most importantly I cannot login to the system as the fedora user o as the root user for which I've setup the passwords!

I do see errors during cloud-init setup being it unable to access external IPs but I've understood that local ISO image is supported by default and should be tried automatically at the end of the setup, isn't it ?

The iso is ok as far as I've tested it: I've mounted it in my host and even in others ubuntu distros and it's ok. And - of course - it's attached to the fedora host while booting!

Do you have any suggestion? What kind of error should I look for during boot ?

Thanks.
Bye,
-- Marco


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]