ccard | Are there any tools for validating cloud-init syntax? | 07:45 |
---|---|---|
ccard | I have seen examples using str_replace, where the params are given values using something like "__value__: { get_param: some_parameter }", but I'd like to do something like "__value__: { str_split: ['.', { get_param: some_parameter }, 0] }". | 08:45 |
ccard | However, when I try this I get the error "ERROR: Property error : cloud_init: cloud_config "str_replace" params must be strings or numbers" | 08:46 |
=== rangerpbzzzz is now known as rangerpb | ||
larsks | That looks like Heat template syntax, actually. Cloud-init doesn't have functions like that. | 15:50 |
larsks | ccard: you probably want to ask over on #heat. | 15:51 |
ccard | larsks: yes, I realised that this morning :) It turns out I need OpenStack kilo at least :( | 15:55 |
larsks | Glad you're all set. Or at least pointed in the right direction. | 15:55 |
ccard | larsks: another question: how do I get cloud-init to recognise a "network-interfaces" section, to define the network devices? I think I need to get it to use a DataSourceNoCloudNet data source, but my instance is only using a DataSourceConfigDriveNet data source. | 17:29 |
larsks | ccard: take a look at https://bugzilla.redhat.com/show_bug.cgi?id=1235602#c3 | 17:57 |
=== jgrimm is now known as jgrimm-afk | ||
smoser | ccard, its buggy. | 18:58 |
smoser | working on fixing | 18:58 |
=== jgrimm-afk is now known as jgrimm | ||
mfisch | harlowja: smoser is launchpad still the right/current place for the cloud-init source tree | 20:03 |
mfisch | I'd like to make a couple doc fixes | 20:03 |
smoser | mfisch, yes | 20:05 |
mfisch | thx | 20:06 |
mfisch | lets see if I still remember how to use bzr ;) | 20:06 |
harlowja | smoser will add git eventually :-P | 20:07 |
smoser | yes. | 20:07 |
harlowja | reminds me, i gotta destroy the 0.7x branch on openstack/cloudinit | 20:07 |
=== rangerpb is now known as rangerpbzzzz | ||
mfisch | I even got it working | 21:07 |
mfisch | https://code.launchpad.net/~mfisch/cloud-init/doc-fixes/+merge/294976 | 21:07 |
harlowja | woot :-P | 21:08 |
mfisch | I worked at C for 2 years but apparently forgot it all, had to google | 21:08 |
harlowja | :) | 21:09 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!