mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-23 23:42:29 +00:00
Add features label io.balena.features.journal-logs
Change-type: patch Signed-off-by: Thomas Manning <thomasm@balena.io>
This commit is contained in:
parent
ced69c8c15
commit
1eeff698ac
@ -328,6 +328,11 @@ export async function addFeaturesFromLabels(
|
||||
};
|
||||
|
||||
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': () =>
|
||||
service.config.volumes.push('/run/dbus:/host/run/dbus'),
|
||||
'io.balena.features.kernel-modules': () =>
|
||||
|
Loading…
Reference in New Issue
Block a user