| faizal | Hi | 09:23 |
|---|---|---|
| faizal | Have some doubts | 09:24 |
| faizal | About cloudinit | 09:24 |
| faizal | Can I ask | 09:24 |
| Odd_Bloke | faizal: It's better to just ask than ask to ask. :) | 10:03 |
| faizal | Okay | 10:04 |
| faizal | Can we run just one module | 10:05 |
| faizal | When we run manually | 10:05 |
| faizal | For example only users-group module | 10:05 |
| faizal | And one more doubt | 10:08 |
| faizal | Cloudinit --file. ...what type of file will it take as argument | 10:10 |
| faizal | I gave cloudinit --file mycloudconfig.Cfg | 10:10 |
| faizal | I am getting error | 10:10 |
| faizal | Too few argument's | 10:10 |
| faizal | What type of file is cloudinit expecting | 10:11 |
| Odd_Bloke | faizal: You still need to instruct cloud-init to do something with that file. | 10:11 |
| Odd_Bloke | faizal: (e.g. cloud-init --file foo.cfg init) | 10:11 |
| Odd_Bloke | faizal: And to run a single module, you want the single subcommand. | 10:11 |
| Odd_Bloke | (i.e. cloud-init single) | 10:12 |
| Odd_Bloke | I haven't used it, so I don't know the parameters off the top of my head. | 10:12 |
| Odd_Bloke | But poke around that and you should find what you want. | 10:12 |
| faizal | Thanks | 10:14 |
| faizal | Cloudinit single users-group? | 10:16 |
| faizal | Is this correct | 10:16 |
| Odd_Bloke | faizal: I don't know. :) | 10:19 |
| Odd_Bloke | faizal: Does it do what you expect? :p | 10:19 |
| faizal | Nope | 10:19 |
| Odd_Bloke | Then it's not correct. ;) | 10:31 |
| Odd_Bloke | faizal: Did you read the help for cloud-init single? | 10:31 |
| faizal | Yeah | 10:32 |
| faizal | Got it | 10:32 |
| faizal | We should use -n | 10:32 |
| faizal | It's working | 10:33 |
| faizal | :) | 10:33 |
| Odd_Bloke | :) | 10:34 |
| faizal | To run manually we should delete the contents in /var/lib/cloud/ every time? | 10:37 |
| faizal | Is there any other way | 10:37 |
| Odd_Bloke | faizal: Specifying a frequency should override that behaviour. | 10:48 |
| Odd_Bloke | (But I'm not 100% sure) | 10:48 |
| === harlowja_away is now known as harlowja_ | ||
| harmw | hm, stupid wget | 18:46 |
| harmw | Read error at byte 4302834/21211526 (error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac). | 18:46 |
| harmw | (while trying to build cirros) | 18:46 |
| johnca | zackf: :) | 20:26 |
| zackf | Hey there johnca | 20:26 |
| zackf | Hey all, had a question, using cloud-init on coreos and i'm trying to have it start a systemd template... When I do so it throws an error that i'm using an invalid name | 20:27 |
| zackf | https://gist.github.com/jrcloud/92f46d5d845da58b7cf2 | 20:27 |
| zackf | That's my cloud config ^ | 20:27 |
| zackf | When i get rid of the @ sign in the zk-discovery service it works. | 20:27 |
| zackf | Just not as a template. | 20:27 |
| zackf | anyone have any tips on how to resolve this? | 20:27 |
| johnca | I think you might have to split it into 2 commands, 1 to write the file and one to start the service | 20:29 |
| zackf | Yeah that's what i'm doing currently | 20:29 |
| zackf | That works! | 20:29 |
| zackf | Just curious if there was a way to do in one step | 20:29 |
| zackf | if not , what you said is working as of now | 20:29 |
| johnca | probably not | 20:30 |
| zackf | Ok, no worries. | 20:30 |
| zackf | This way works. | 20:30 |
| zackf | Thanks johnca | 20:31 |
| === zackf is now known as spartacloud | ||
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!