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
{{ message }}
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
I wanted to create a nice common unit file that I will include with all docker units, so I don't have to repeat myself when writing units for fleet. However, the .include line seems to be missing from the resulting unit file. This is unacceptable.
This is an interesting use case, but unfortunately it's infeasible with the current way that unit files are handled in fleet. When communicating over the API unit files are deserialized (via go-systemd) into a sequence of unit options, which means we lose any comments and other things like includes. (I also seem to recall that .include directives are strongly discouraged by upstream systemd, but can't find a reference for that now.)
I wanted to create a nice common unit file that I will include with all docker units, so I don't have to repeat myself when writing units for fleet. However, the .include line seems to be missing from the resulting unit file. This is unacceptable.
File
/etc/systemd/include.unit
is present on all CoreOS nodes (created with cloud-config).Resulting unit file after submitting and starting the unit with fleetctl:
The text was updated successfully, but these errors were encountered: