smoser | blackboxsw, still there? | 00:18 |
---|---|---|
smoser | you probably shouldnt be. | 00:18 |
blackboxsw | smoser: sorry was doing dinner and bedtime: just ran on azure artful (from zesty upgrade) with and without ifupdown. Worked like a charm in both cases. | 03:36 |
blackboxsw | approved your branch | 03:36 |
blackboxsw | for tomorrow | 03:36 |
smoser | hm... | 14:56 |
smoser | rharper, https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+ref/ubuntu/sm-proposed-artful | 15:18 |
rharper | raharper/ubuntu-devel-new-artful-release-v3 | 15:33 |
=== shardy is now known as shardy_afk | ||
blkadder | Question for the hive-mind: I am using cloud-init to spin up AWS instances via the aws CLI + yaml files. I am in the process of writing a wrapper script as among other things I want to be able to set the hostname for a given instance on launch. I am wondering if it is possible to merge the existing YAML file with the command line parameters I am setting? | 16:44 |
smoser | the aws cli only will allow you to pass one "user-data" blob. | 16:59 |
smoser | you can merge all your yaml files to your liking ahead of that one blob | 16:59 |
smoser | or you can combine multiple blobs into a mime-multipart message and putt hat as your blob and cloud-init will merge yaml on its side. | 16:59 |
blkadder | smoser, Thanks, I was trying to sort through that last option but couldn't find any examples of how to do so. | 17:03 |
blkadder | Otherwise I was just going to have the script treat the yaml file as a template and sed the hostname in. | 17:04 |
smoser | blkadder, https://help.ubuntu.com/community/CloudInit | 17:14 |
smoser | that shows how to create a mime multipart | 17:14 |
blkadder | Awesome thanks! | 17:14 |
blkadder | Had been looking for something like that. | 17:15 |
blkadder | Although looking at it, if I need to go through those gyrations, it is probably simpler to just sub in the hostname with sed as that's the only thing I need to do at present. | 17:18 |
blkadder | In any event appreciate the assist. | 17:18 |
=== hrybacki is now known as hrybacki|brb | ||
=== hrybacki|brb is now known as hrybacki | ||
powersj | blackboxsw: https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/331736 | 20:16 |
powersj | another https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/331743 | 21:22 |
blackboxsw | I'm glad someone is making progress | 21:23 |
blackboxsw | I'm trying to clear out from under unified getdata | 21:23 |
powersj | well that 2nd merge was written by smoser and I just went and did the work and tested it ;) | 21:24 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!