/srv/irclogs.ubuntu.com/2023/07/20/#cloud-init.txt

edwin48I want to execute some script under "runcmd" field :06:18
edwin48runcmd:06:18
edwin48    - echo '/dev/sda1 /data ext4 defaults 0 0' >> /etc/fstab06:18
edwin48    - mount -a06:18
edwin48    - chown -R demo:demo /data06:18
edwin48after the system installed , I check the log from /var/log/syslog , it told me that chown does not work well ,so can somebody tell me the reason , Thanks.06:18
edwin48the error is : '''chown: cannot access '/data': No such file or directory'''06:27
edwin48when I login to ubuntu system , the directory "/data" exist06:28
edwin75mount :data:mount point does not exist07:27
=== cpaelzer_ is now known as cpaelzer
aciba[m]I have noticed that SLE versions of cloud-init contain a cloud-init-write-routes.patch that mitigates / bypasses https://bugs.launchpad.net/cloud-init/+bug/1812117.13:13
-ubottu:#cloud-init- Launchpad bug 1812117 in cloud-init "route files are not written on SUSE distros" [Undecided, Fix Released]13:13
aciba[m]But lp1812117 was believed to be fixed in cloud-init 19.1, and there were comments saying that wasn't fixed.13:13
aciba[m]Is there someone from Suse with more context on this? It sounds like either the patch is not needed or the issue was not fixed.13:13
meenaaciba[m]: isn't someone from Suse usually here?13:15
aciba[m]rjschwei I believe13:20
meenaplausible, https://www.suse.com/c/author/rjschwei/13:23
rjschweiThe issue is not fixed upstream, I have still not pushed the patch upstream (: 13:29
aciba[m]Thanks rjschwei for the context. Then it looks like we should reopen https://github.com/canonical/cloud-init/issues/3313 (the GH issue associated with lp1812117).14:11
-ubottu:#cloud-init- Issue 3313 in canonical/cloud-init "route files are not written on SUSE distros" [Closed]14:11
DP84Hi all. I am building a custom cloud-init module and curious about whether is there any alternative/external path where I can put my cc_ file? Or the only way to add it to cloud-init is to put it in `site-packages/cloudinit/config` directory where all the rest of the modules are located?19:58
DP84I am doing custom image based on Amazon Linux 2 and want to add custom cloud-init module that will be used from the user-data.19:58
=== esv_ is now known as esv

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