Hello Sayali,

Is the meta-data agent running? Can you inject a ssh key on the VM?
The post-script is a function added by the metadata service in nova and
neutron.

Edgar


On Tue, Feb 4, 2014 at 9:11 PM, Sayali Lunkad <sayali.92...@gmail.com>wrote:

> Hey,
>
> I am trying to run a post creation script on cirros instance on devstack.
>
> Here are the contents of my script :-
>
> #!/bin/bash
> cd /home/cirros/
> sudo mkdir myfolder
> cd myfolder
> touch helloworld.txt
> echo "hello" >> helloworld.txt
>
> But the file doesn't get created. What possibly could be going wrong ?
> Also I tried using the ubuntu-cloud image and minimalistic ubuntu with no
> success.
>
> Best Regards,
> Sayali
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to