Davio,

yes, you could do that, but for local files only from CLI, not Horizon. You
could use a "str_replace" and "get_file" functions.

As an example, here
https://github.com/pshchelo/stackdev/blob/master/templates/autoscaling/asg.yaml#L33-L45
I am dropping a local file through the Nova's user data to the VM.

Though I must stress that passing real user cloud credentials inside VM is
a security risk, VMs by default should be better considered as vulnerable.

Best regards,

On Fri, Feb 19, 2016 at 1:08 PM Davíð Örn Jóhannsson <davi...@siminn.is>
wrote:

> ​Is it possible to gain access to OpenStack RC file from within a heat
> template, in order to place it on a host during cloud init?
> _______________________________________________
> 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
>
-- 
Dr. Pavlo Shchelokovskyy
Senior Software Engineer
Mirantis Inc
www.mirantis.com
_______________________________________________
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