mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-19 11:16:34 +00:00
Merge pull request #1445 from balena-io/codewithcheese/journalctl-label
Add features label `io.balena.features.journal-logs`
This commit is contained in:
commit
7cd2950410
@ -328,6 +328,11 @@ export async function addFeaturesFromLabels(
|
|||||||
};
|
};
|
||||||
|
|
||||||
const features = {
|
const features = {
|
||||||
|
'io.balena.features.journal-logs': () => {
|
||||||
|
service.config.volumes.push('/var/log/journal:/var/log/journal:ro');
|
||||||
|
service.config.volumes.push('/run/log/journal:/run/log/journal:ro');
|
||||||
|
service.config.volumes.push('/etc/machine-id:/etc/machine-id:ro');
|
||||||
|
},
|
||||||
'io.balena.features.dbus': () =>
|
'io.balena.features.dbus': () =>
|
||||||
service.config.volumes.push('/run/dbus:/host/run/dbus'),
|
service.config.volumes.push('/run/dbus:/host/run/dbus'),
|
||||||
'io.balena.features.kernel-modules': () =>
|
'io.balena.features.kernel-modules': () =>
|
||||||
|
Loading…
Reference in New Issue
Block a user