/srv/irclogs.ubuntu.com/2017/10/03/#cloud-init.txt

smoserblackboxsw, still there?00:18
smoseryou probably shouldnt be.00:18
blackboxswsmoser: 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
blackboxswapproved your branch03:36
blackboxswfor tomorrow03:36
smoserhm...14:56
smoserrharper, https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+ref/ubuntu/sm-proposed-artful15:18
rharperraharper/ubuntu-devel-new-artful-release-v315:33
=== shardy is now known as shardy_afk
blkadderQuestion 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
smoserthe aws cli only will allow you to pass one "user-data" blob.16:59
smoseryou can merge all your yaml files to your liking ahead of that one blob16:59
smoseror 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
blkaddersmoser, Thanks, I was trying to sort through that last option but couldn't find any examples of how to do so.17:03
blkadderOtherwise I was just going to have the script treat the yaml file as a template and sed the hostname in.17:04
smoserblkadder, https://help.ubuntu.com/community/CloudInit17:14
smoserthat shows how to create a mime multipart17:14
blkadderAwesome thanks!17:14
blkadderHad been looking for something like that.17:15
blkadderAlthough 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
blkadderIn any event appreciate the assist.17:18
=== hrybacki is now known as hrybacki|brb
=== hrybacki|brb is now known as hrybacki
powersjblackboxsw: https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/33173620:16
powersjanother https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/33174321:22
blackboxswI'm glad someone is making progress21:23
blackboxswI'm trying to clear out from under unified getdata21:23
powersjwell 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!