1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 23:04:41 +00:00

Fix more issues with state management

This commit is contained in:
Darren Shepherd
2015-02-16 22:27:32 -07:00
parent 76e5cf8d50
commit b0c332f510
3 changed files with 7 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ func NewConfig() *Config {
ImagesPattern: "images*.tar",
StateRequired: false,
StateDev: "LABEL=RANCHER_STATE",
StateDevFSType: "ext4",
StateDevFSType: "auto",
SysInit: "/sbin/init-sys",
SystemDockerArgs: []string{"docker", "-d", "-s", "overlay", "-b", "none"},
UserInit: "/sbin/init-user",
@@ -69,7 +69,6 @@ func NewConfig() *Config {
"-d",
"--rm",
"--privileged",
//"--volume", "/:/host:ro",
"--volume", "/lib/modules:/lib/modules:ro",
"--volume", "/usr/bin/docker:/usr/bin/docker:ro",
"--volume", "/init:/usr/bin/system-docker:ro",
@@ -91,7 +90,6 @@ func NewConfig() *Config {
"-d",
"--rm",
"--privileged",
//"--volume", "/:/host",
"--volume", "/lib/modules:/lib/modules:ro",
"--volume", "/usr/bin/docker:/usr/bin/docker:ro",
"--volume", "/init:/usr/bin/system-docker:ro",