[00:53] How cloud-init iso can automatically detect the network config version to apply static ip address on the vm? [04:20] How cloud-init iso can automatically detect the network config version to apply static ip address on the vm? [15:10] Hi! Is there any official way to use cloud-init with VMWare? I know it sounds funny. [15:59] andras-kovacs http://darrylcauldwell.com/vmware-cloud-init/ seems like a starter guide with some helpful links [16:15] thank you! [17:32] lucasmoura: and falcojr it seems we get merge conflicts on most of our ubuntu-sru Prs trying to link or update the doc links from the readme https://github.com/cloud-init/ubuntu-sru/tree/master/20200529 [17:33] what do you guys think about us just dropping that linking and we can separately merge a top-level readme update later so we don't have to rebase each PR when another verification test lands [17:34] I'd even be game the commiter (who clicks the merge button) separately just pushing a commit to update the docs after it lands [17:34] as it seems painful to constantly rebase -i master and fix a trivial conflict [17:34] what do you both think? [17:39] blackboxsw, I agree. I will remove the links on my PRs now [17:43] blackboxsw: if you approve, I'm fine doing the fix and merge myself...pretty I have the permissions on that repo [17:43] also, my network took a dump for a minute or two, so sorry if I missed a message in there [17:44] s/pretty/pretty sure [17:44] a doc after the fact works too [17:44] whatever's easiest for everyone else I guess [17:45] blackboxsw, I have removed the links on my PRs [17:45] ok, I'll stop adding the links then and we can do it all at once at the end [17:45] +1 falcojr and lucasmoura I think any of us should feel free to review/merge other's PRs on this [17:45] ok sounds good. let's do it all at the end [17:46] conflict ...resolved [17:46] falcojr: try: "pretty, and sure" — that works for me. [17:46] hah [17:46] nice [17:49] lucasmoura: did you git add your ec2 verification results to https://www.gnu.org/software/grub/manual/legacy/grub.html#Filesystem? [17:49] lucasmoura: did you git add your ec2 verification results to https://github.com/cloud-init/ubuntu-sru/pull/102/files? [17:51] I think we want the entire console output from the test runs on the PR in ec2-sru-20.2.45.txt [17:51] blackboxsw, Not yet to both questions [17:51] Oh sorry, I will add it now [17:51] thanks [17:51] Is there a specific folder I should put that on ? [17:52] falcojr: approved however you want to resolve the merge conflicts is good w/ me https://github.com/cloud-init/ubuntu-sru/pull/105#pullrequestreview-429154846 [17:54] merged lucasmoura https://github.com/cloud-init/ubuntu-sru/pull/106 [17:54] blackboxsw, just realized I should put it in the ec2 file. Updating the file right now [17:54] I'll stop pinging with each merge. I'm getting a bit noisy here. [17:55] thx lucasmoura [17:56] blackboxsw, updated [18:11] lucasmoura: clear for attaching those logs to https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1881018 [18:11] Ubuntu bug 1881018 in cloud-init (Ubuntu) "sru cloud-init (19.4.33 to 20.2-45) Xenial, Bionic, Eoan and Focal" [Undecided,In progress] [18:11] blackboxsw, ack [18:12] lucasmoura: when you do, please also update the description of the bug "* Manual Test Results" section replacing the TODO with the name of the log file you are attaching [18:12] goal is for us to replace all those TODOs in the descr with verification logs [18:12] okay [18:34] blackboxsw, launchpad bug updated [20:06] anybody have experience lauching a VM with cloud-init through lxd? [20:06] I haven't yet launch a LXD VM, I'm afraid. [20:06] and falcojr yep, let me get you the PR. :) you need a profile [20:07] ahhh, ok. I was able to get it started but my cloud init data wasn't passed through [20:07] falcojr: https://github.com/canonical/ubuntu-advantage-client/pull/1090/files#diff-ade24dcbd00eae69e6f292b18c4ec67aR109-R128 [20:07] thanks! [20:08] hrm, checking the actual question you had. I'll try providing cloud-config to that to see if it works [20:08] well via google I found an example of somebody using cloud init data, but they created a profile too [20:13] falcojr: ok I did the following lxc launch ubuntu-daily:focal -c user.user-data="$(cat cc.yaml)" asdf-f2 --vm --profile behave-vm and it worked. [20:13] falcojr: here's what my profile looks like https://github.com/canonical/ubuntu-advantage-client/pull/1090/files#diff-ade24dcbd00eae69e6f292b18c4ec67aR109-R128 [20:13] oops https://paste.ubuntu.com/p/yq3JMVy2Dr/ [20:14] ahh, right, that source [20:14] awesome, thanks! [20:24] sorry falcojr that link doesn't take you to the right place, but basically look for lxc_create_vm_profile [20:24] .... .and if you are reviewing it ;).... j/k :) [20:25] I'll put ua-client reviews on lucas :) [20:25] yeah, I got it, thanks again [21:58] Hey everyone, when I set a cloud-config directive through the environment variable DEBUG_PROC_CMDLINE, how can I verify that it was actually used ? [21:58] smoser: rharper do you have any objection if we hoist the remaining scripts out of https://github.com/cloud-init/qa-scripts and into uss-tableflip? [21:59] blackboxsw: one place is better than two [21:59] Originally I thought about looking at both cloud-init.log and cloud-init-output.log, but the output is not appearing in those logs [21:59] * blackboxsw thinks you still have access to that repo [21:59] blackboxsw: tableflip ? [21:59] blackboxsw: yeah, I think so [22:00] typically I'd expect ya'll to land to tableflip though [22:01] Is there any way to do variable interpolation on #include directives? [22:04] Sargun: you can use a jinja template in your #cloud-config file [22:05] rharper: Cool. Thanks. [22:06] Sargun: see cloud-init query and cloud-init devel render [22:11] Sargun: https://paste.ubuntu.com/p/GNx8VVyQVk/ [22:11] cloud-init query --list-keys will show you the supported jinja variables [22:13] yeah rharper lucas just mentioned yesterday we had a number of dup scripts which we hadn't retired from qa-scripts [22:13] powersj: same question on qa-scripts repo in cloud-init [22:13] we were thinking of migrating remaining scripts out of there into https://github.com/canonical/uss-tableflip/ [22:13] blackboxsw, do it [22:21] This is super neat: include http://myhost/{{ v1.distro }}-instance-{{ instance_id }}/my-user-data [22:39] yeah it's great. anything you can do in jinja templates are viable options . conditionals loops variable replacement etc. [22:40] plus the benefit of sourcing all cloud-init query instance data as variables