edwin48 | I want to execute some script under "runcmd" field : | 06:18 |
---|---|---|
edwin48 | runcmd: | 06:18 |
edwin48 | - echo '/dev/sda1 /data ext4 defaults 0 0' >> /etc/fstab | 06:18 |
edwin48 | - mount -a | 06:18 |
edwin48 | - chown -R demo:demo /data | 06:18 |
edwin48 | after 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 |
edwin48 | the error is : '''chown: cannot access '/data': No such file or directory''' | 06:27 |
edwin48 | when I login to ubuntu system , the directory "/data" exist | 06:28 |
edwin75 | mount :data:mount point does not exist | 07: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 |
meena | aciba[m]: isn't someone from Suse usually here? | 13:15 |
aciba[m] | rjschwei I believe | 13:20 |
meena | plausible, https://www.suse.com/c/author/rjschwei/ | 13:23 |
rjschwei | The 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 | |
DP84 | Hi 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 |
DP84 | I 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!