mirror of
https://github.com/rancher/os.git
synced 2025-09-09 02:31:36 +00:00
rbind the host dev
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -e /host/dev ]; then
|
if [ -e /host/dev ]; then
|
||||||
mount --bind /host/dev /dev
|
mount --rbind /host/dev /dev
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
Reference in New Issue
Block a user