[openstack-dev] [Heat] creating a stack with a config_drive

Maish Saidel-Keesing maishsk at maishsk.com
Fri Aug 7 13:35:09 UTC 2015


On 08/07/15 16:22, Randall Burt wrote:
> config_drive: true just tells the instance to mount the drive. You 
> pass data via the user_data property.
>
Thanks Randall that is what I was thinking.

But I am confused.

When booting an instance with nova boot, I can configure a local 
file/directory to be mounted as a config drive on the instance upon 
boot. I can also provide information and commands regularly through the 
user_data

Through Heat I can provide configuration through user_data. And I can 
also mount a config_drive.

Where do I define what that config_drive contains?


> -------- Original message --------
> From: Maish Saidel-Keesing
> Date:08/07/2015 8:08 AM (GMT-06:00)
> To: "OpenStack Development Mailing List (not for usage questions)"
> Subject: [openstack-dev] [Heat] creating a stack with a config_drive
>
> I have been looking for a working example to create Heat stack with a
> config_drive attached.
>
> I know it is possible to deploy a nova instance with the CLI [1]
>
> I see that OS::Nova::Server has a config_drive property that is a
> Boolean value [2]
>
> What I cannot find is how this can be used. Where is the path defined
> for the config file?
> Or am I completely missing what and how this should be used?
>
> Anyone with more info on this - I would be highly grateful.
>
> Thanks.
>
> [1] http://docs.openstack.org/user-guide/cli_config_drive.html
> [2]
> http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server
>
>
> -- 
> Best Regards,
> Maish Saidel-Keesing
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-- 
Best Regards,
Maish Saidel-Keesing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150807/a19c92a6/attachment.html>


More information about the OpenStack-dev mailing list