mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-03-28 06:38:35 +00:00
Add a sysfs feature label
The new label `io.balena.features.sysfs` will mount the host /sys into the container at /sys. Relates to issue: #743 Change-type: minor Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
parent
7dcb4fa887
commit
947deb3cc6
@ -370,6 +370,7 @@ export function addFeaturesFromLabels(
|
||||
`http://${host}:${options.listenPort}`,
|
||||
);
|
||||
},
|
||||
'io.balena.features.sysfs': () => service.config.volumes.push('/sys:/sys'),
|
||||
};
|
||||
|
||||
_.each(features, (fn, label) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user