mirror of
https://github.com/rancher/os.git
synced 2025-08-31 22:32:14 +00:00
/media and /mnt mounted as shared for console
This commit is contained in:
committed by
Darren Shepherd
parent
3728a328ea
commit
9f0074c398
@@ -218,6 +218,9 @@ func RunInit() error {
|
||||
return c, dockerlaunch.PrepareFs(&mountConfig)
|
||||
},
|
||||
initializeSelinux,
|
||||
func(c *config.CloudConfig) (*config.CloudConfig, error) {
|
||||
return c, syscall.Mount("", "/", "", syscall.MS_SHARED|syscall.MS_REC, "")
|
||||
},
|
||||
sysInit,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user