mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-03-22 03:55:22 +00:00
Make sure the fib_trie mount is propogated on an update.
This commit is contained in:
parent
a47022a0b4
commit
c03a51d404
@ -59,6 +59,7 @@ exports.update = ->
|
||||
'/boot/config.json': '/mnt/mmcblk0p1/config.json'
|
||||
'/data': '/var/lib/docker/data'
|
||||
'/run/docker.sock': '/var/run/docker.sock'
|
||||
'/mnt/fib_trie': '/proc/net/fib_trie'
|
||||
Env:
|
||||
for envVar in config.expectedEnvVars
|
||||
envVar + '=' + process.env[envVar]
|
||||
@ -71,6 +72,7 @@ exports.update = ->
|
||||
'/mnt/mmcblk0p1/config.json:/boot/config.json'
|
||||
'/var/run/docker.sock:/run/docker.sock'
|
||||
'/var/lib/docker/data:/data'
|
||||
'/proc/net/fib_trie:/mnt/fib_trie'
|
||||
]
|
||||
)
|
||||
.then ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user