/srv/irclogs.ubuntu.com/2020/04/10/#cloud-init.txt

blackboxswhappy easter folks. off for a few days.04:53
remilapeyreHi everybody! I'm trying to run a per-instance script after user_data has been run. Is this possible whithout having to loop and wait? During my tests I noticed that per-instance scripts were run before user_data but we depends on files that are created by it.11:06
kqkq95hi all,hello, I'm trying to configure cloud-init on my vmware model with foreman, but after configuring, I still get the same error: "no instance data source found!" Probably low things to come ", can someone help me?12:55
kqkq95how can i debug this error : "Seed from https://myforemanurl/userdata/ not supported by DataSourceNoCloudNet [seed=None][dsmode=net]14:33
AnhVoMSFTrharper Odd_Bloke blackboxsw is there anyway to dump out the entire config of what cloud-init used to deploy a particular instance, as if the user was to supply this humongous user-data file, it would generate this exact deployment ?14:42
rharperAnhVoMSFT: for user-data only, this is present in /var/lib/cloud/instance/user-data.txt15:04
rharperAnhVoMSFT:   assuming the image has not been modified with other cloud-config; that should be sufficient;    we also now write out the system_config in /run/cloud-init/instance-data.json  which incoporates the sourced config from /etc/cloud/cloud.cfg.d/* ;    I suspect that the user-data is sufficient though15:06
AnhVoMSFTthanks rharper16:25
andras-kovacskqkq95: write a custom systemd unit / shell script what can do the stuff for you and make it happen in the runcmd part. What datasource do you have there exactly?20:37
andras-kovacskqkq95: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/s1-one-time_script_on_next_boot_using_systemd_unit_file20:38
andras-kovacsapollo13: how did you resolve the root + key problems?20:39
andras-kovacsDid any of you see this.... WALinuxAgent whatnot? I have a project where I should upload custom vm templates in Azure also. But this thing is really... such a Microsoft way of thinking. All the others accept cloud-init, but them...20:41
andras-kovacsMoreover it does that telemetry-thing like windows does.20:43
=== MAbeeTT_ is now known as MAbeeTT

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