mirror of
https://github.com/rancher/os.git
synced 2025-06-27 07:16:48 +00:00
Temporary fix for VMware mounting state partition
This commit is contained in:
parent
2af99f561d
commit
dfeb26eecf
@ -286,6 +286,8 @@ func RunInit() error {
|
|||||||
return err
|
return err
|
||||||
},
|
},
|
||||||
mountCgroups,
|
mountCgroups,
|
||||||
|
setResolvConf,
|
||||||
|
createSymlinks,
|
||||||
extractModules,
|
extractModules,
|
||||||
loadModules,
|
loadModules,
|
||||||
mountState,
|
mountState,
|
||||||
@ -298,8 +300,6 @@ func RunInit() error {
|
|||||||
func(cfg *config.Config) error {
|
func(cfg *config.Config) error {
|
||||||
return cfg.Reload()
|
return cfg.Reload()
|
||||||
},
|
},
|
||||||
setResolvConf,
|
|
||||||
createSymlinks,
|
|
||||||
remountRo,
|
remountRo,
|
||||||
sysInit,
|
sysInit,
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@ default rancheros
|
|||||||
label rancheros
|
label rancheros
|
||||||
kernel /boot/vmlinuz
|
kernel /boot/vmlinuz
|
||||||
initrd /boot/initrd
|
initrd /boot/initrd
|
||||||
append quiet rancher.password=rancher
|
append quiet rancher.password=rancher rancher.modules=[mptspi]
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Copied from boot2docker, thanks.
|
# Copied from boot2docker, thanks.
|
||||||
|
Loading…
Reference in New Issue
Block a user