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:
@@ -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",
|
||||
|
Reference in New Issue
Block a user