=== mgagne is now known as Guest33539 | ||
=== shardy is now known as shardy_lunch | ||
=== shardy_lunch is now known as shardy | ||
powersj | magicalChicken: emailed Paul about pylxd merge 211... he just merged it :) | 16:33 |
---|---|---|
rharper | nice | 16:34 |
magicalChicken | powersj: awesome, thanks for getting that merged. I may put together a ppa to build pylxd directly from the repo to test | 17:09 |
powersj | ok we should probably test that it does actually fix things :) | 17:10 |
=== shardy is now known as shardy_afk | ||
ranger81 | what is the best way to execute a cloud config file in ubuntu after instance is booted? For example, CoreOS has coreos-clouinit tool. | 17:55 |
Odd_Bloke | ranger81: cloud-init runs in all Ubuntu cloud instances, so should Just Work (TM). Are you seeing problems? | 18:09 |
ranger81 | @Odd_Bloke I want to run this on a already booted/provisioned node stand-alone. For example, if you have a cloud-config.yml, in CoreOS, you can run /bin/coreos-cloudinit --from-file cloud-config.yml to add users, write files etc. In ubuntu, there is /usr/bin/cloud-init, but this does not work same ways as CoreOS. | 18:12 |
Odd_Bloke | ranger81: Ah, OK, I misunderstood the "after instance is booted" to mean "immediately after". :p | 18:13 |
Odd_Bloke | I'm not sure how you'd get cloud-init to do that, perhaps smoser can help. | 18:14 |
ranger81 | @Odd_Bloke @smoser I am thinking I should write a yaml parser in python and then execute necessary commands to add ssh-users for this. I am not sure if that is the best approach. | 18:15 |
smoser | ranger81, cloud-init doesn't really have function to do that at the moment. | 18:17 |
smoser | it is admittedlyuseful/desireable. | 18:17 |
smoser | you an run individual config modules with a config | 18:17 |
smoser | cloud-init --file=your.cfg single --name=users_groups --frequency=always | 18:18 |
smoser | so that is similar, but you have to know which config moduels to run | 18:18 |
ranger81 | @smoser that helps. | 18:20 |
ranger81 | @smoser where can I find list of supported modules that I can use in standalone mode like this? example users_groups | 18:23 |
ranger81 | smoser: did not tag you in previous messages | 18:24 |
rharper | ranger81: AFAIK, all of the config modules support that; http://cloudinit.readthedocs.io/en/latest/topics/modules.html | 18:49 |
=== Guest33539 is now known as mgagne |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!