mirror of
https://github.com/rancher/os.git
synced 2025-09-12 13:17:17 +00:00
/media and /mnt mounted as shared for console
This commit is contained in:
@@ -224,6 +224,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