UbuntuIRC / 2015 /11 /17 /#cloud-init.txt
niansa
Initial commit
4aa5fce
=== jaxxstorm_ is now known as jaxxstorm
=== jroll is now known as Guest89040
=== eofs_ is now known as eofs
=== cpaelzer_ is now known as cpaelzer
=== Guest89040 is now known as jroll
=== Guest80875 is now known as mfisch
=== mfisch is now known as Guest20594
=== Guest20594 is now known as mfisch
[20:23] <jdcaddie> Is there any documentation on how to configure a datasource for openstack
[20:23] <jdcaddie> newb here
[20:25] <jdcaddie> trying to figure out where to exactly configure my cloud-config files
[20:39] <smoser> jdcaddie, you should not erally have to configure anything
[20:39] <smoser> the built in list will include openstack search
[20:40] <smoser> you can optionally explicitly set it in a file in /etc/cloud/cloud.cfg.d/your.cfg
[20:40] <smoser> datasource_list: [ MAAS ]
[20:41] <jdcaddie> smoser, I guess im just trying to really figure out how to set custom configurations using cloud-init... such as mount points, running scripts, etc
[20:42] <smoser> ah.
[20:42] <jdcaddie> smoser, do I just add them to the cloud.cfg or should I create cloud-config metadata scripts
[20:43] <smoser> if you want to config things and make a "golden image" with those built in
[20:43] <smoser> then put whatever you'd like in /etc/cloud/cloud.cfg.d/your.cfg
[20:43] <smoser> but generally, you dont have to do that and you should just pass whatever you want to happen through user-data
[20:43] <smoser> https://help.ubuntu.com/community/CloudInit
[20:43] <smoser> and then http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config.txt
[20:44] <smoser> and other files in that directory are really best documentation
[20:44] <smoser> and i admittedly use "best" loosely
[20:44] <jdcaddie> great, I will do some reading! thanks for the insite
[20:45] <jdcaddie> in openstack user-data are scripts that get passed when building a instance correct? of can there be centalized set of user-data scripts?
[20:45] <smoser> when you create an instance
[20:46] <smoser> (as opposed to build an image)
[20:46] <smoser> user-data is per-instance and provied on 'nova boot'
[20:47] <jdcaddie> thanks, thats exacty what i needed to know
[23:20] <agy> if i want to create an additional DataSource for cloud-init, can i provide cloud-init an additional path to load this new DS?
[23:21] <agy> i'm not overly keen to dump the new DS in the dist-packages directory if i can help it
[23:21] <agy> or at least, the dist-packages/cloud-init directory