[openstack-dev] [Heat] creating a stack with a config_drive
Randall Burt
randall.burt at RACKSPACE.COM
Fri Aug 7 13:52:35 UTC 2015
The drive will contain the user data. Its an alternative to the metadata service and isn't a "normal" drive. Its created, mounted, and populated by Nova.
-------- Original message --------
From: Maish Saidel-Keesing
Date:08/07/2015 8:35 AM (GMT-06:00)
To: Randall Burt , maishsk+openstack at maishsk.com, "OpenStack Development Mailing List (not for usage questions)"
Subject: Re: [openstack-dev] [Heat] creating a stack with a config_drive
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<mailto: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/96434bd7/attachment.html>
More information about the OpenStack-dev
mailing list