/srv/irclogs.ubuntu.com/2018/02/21/#cloud-init.txt

=== mgagne is now known as Guest20946
=== r-daneel_ is now known as r-daneel
=== kukacz_ is now known as kukacz
=== r-daneel_ is now known as r-daneel
brunobron-afkThanks again to rharper and blackboxsw for their guidance yesterday. Here is how things panned out. https://gist.github.com/RichardBronosky/fa7d4db13bab3fbb8d9e0fff7ea88aa2#result17:42
brunobron-afkI will take that /var/lib/cloud/scripts/per-boot/00_run-parts.sh concept to the Raspbian community and see how they feel about it. https://gist.github.com/RichardBronosky/fa7d4db13bab3fbb8d9e0fff7ea88aa2#file-cloud-init-setup-sh-L4617:43
=== brunobron-afk is now known as brunobronosky
brunobronoskyI am worried about how to package it seeing as Debian is pegged to cloud-init version 0.7.9 for the foreseeable future.17:45
rharperbrunobronosky: hey;  we can probably help you work with 0.7.9; that's not that old despite the jump in versioning18:18
brunobronoskyrharper that would be great. My concern about 0.7.9 is that it seems to insist on a volume labeled cidata.18:20
rharperit also supports the /var/lib/cloud/seed/nocloud-net; so you could switch to that;18:20
brunobronoskyThat kernel cmdline flag doesn't seem to be introduced until 17.118:20
rharperthe seedfrom should still work on 0.7.9 though; lemme see18:21
smoseryeah, you can definitely seed from older than 17.118:22
rharperjust may need to write a config file to /etc/cloud/cloud.cfg.d/datasource.cfg which specifices NoCloud and sets seedfrom: /boot/  etc18:23
brunobronoskyOh. That's not too bad. Actually that may be more acceptable (upstream) than modifying the kernel cmdline.18:24
=== r-daneel_ is now known as r-daneel
brunobronoskysmoser is that completely missing from the old documentation, or am I just not finding it? http://cloudinit.readthedocs.io/en/0.7.9/topics/datasources/nocloud.html18:39
smoserprobably missing18:44
brunobronoskyOkay, I guess I have to learn to grok https://github.com/cloud-init/cloud-init/blob/7fb6f78177b5ece10ca7c54ba3958010a9987f06/cloudinit/sources/DataSourceNoCloud.py18:47
smoserblackboxsw: rharper20:03
smoserhttp://paste.ubuntu.com/p/2VxttpZFjK/20:03
rharperlooking20:03
smoserthat is what i was describing with IFS and shell.20:03
rharpersmoser: I was somewhat confused, I didn't realize it was set -- which was dropping the duplicates20:04
blackboxswwow20:05
smoserit  is documented.20:08
smosersee https://linux.die.net/man/1/bash20:08
smoser'word splitting'20:08
blackboxswAny character in IFS that is not IFS whitespace, along with any adjacent IFS whitespace characters, delimits a field20:12
rharperie, no empty words20:12
smoserclear as mud20:12
blackboxswwhat does *that* mean? That if you set IFS to non-default whitespace characters it'll also observe standard whitespace chars in addition to provided IFS value?20:12
rharperno, just that, you have to have a sequence of non-IFS chars between IFS20:13
smoserbash and sh are at least consistent20:13
rharperno empty words20:13
smoserrharper: well no. see paste20:13
smoserempty words are allowed with non whitespace as delim20:13
blackboxswyeah that paste looks inconstent based on what IFS you provide20:13
rharperpipe and comma look like bugs20:14
rharperI suspect something other than ifs wordsplitting is happening due the | being for setting up new fs and execs20:15
smoser" Any character in IFS that is not IFS whitespace, along with any adjacent IFS whitespace characters, delimits a field"20:15
rharpernot sure what comma means to bash20:15
smoser*that is not IFS whitespace*20:15
rharperhrm, so it should read, don't use a subset of the default IFS20:16
rharperthat's pretty strange thing to do20:16
smoserblackboxsw or rharper https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/33847021:29
smoseri got to run, will check back in later. and i will review stanguturi and blackboxsw mps then21:29
smoserlater21:29
smoserrharper or blackboxsw pretty please ^ ? stanguturi would like it too .22:59
blackboxswwill grab it smoser22:59
blackboxswsorry, was unsuccessfully heads down  on vsphere22:59
blackboxswsmoser: approved your branch, stanguturi has a comment in there that I'll let you fix/merge23:50
stanguturi@smoser. Thanks Scott. I tested your patch in my test environment and it worked.23:51

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!