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