You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the main difference is that bootcmd is running much earlier in the boot sequence (as the cloud-init-local.service). I'm not sure when that is needed though.
I think it originally came from this feature request:
Yes, but it was proposed as just something that might be useful, without an actual need for it:
Another nice to have feature is allowing Lima users to customize cloud init’s cloud-init-local.service behavior via bootCmds, which run very early in the boot process (more info here). Users can use this feature to disable unnecessary services via systemctl (or other means, depending on the OS), or run other arbitrary commands for other reasons.
It is totally possible that nobody is using it at all.
lima/pkg/cidata/cidata.TEMPLATE.d/user-data
Lines 42 to 97 in 01b80e7
Is it possible to unify
bootcmd
into the/var/lib/cloud/scripts/per-boot
scripts? (What are those differences?)The text was updated successfully, but these errors were encountered: