Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cloud-init not working when using Packstack

Hi guys,

I was deploying a Cirros VM using Packstack with cloud-init config included. According to this question, Cirros have also cloud-init installed. I am running Packstack on top of Centos 7 in VMWare player. On my environment I have cloud-init installed as well. However, when I have deployed one VM using the Cirros image in Packstack, cloud-init config introduced was not working. I was looking into the /var/log, but I couldn't find any cloud-init log.

I have tried to insert the cloud config part as follows inside the Dashboard when launching the VM:

#cloud-config
runcmd:
   - echo "This is a test" > /home/cirros/test.txt

Any idea what I can try more? The target is to push some configuration when launching the VM.

Many thanks