1
0
mirror of https://github.com/rancher/os.git synced 2025-09-16 15:09:27 +00:00

Fix two instances where customization isn't respected

This commit is contained in:
Josh Curl
2016-06-28 14:22:13 -07:00
parent d8fc2a7401
commit b09c09edf4
4 changed files with 9 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ func consoleSwitch(c *cli.Context) error {
Privileged: true,
Net: "host",
Pid: "host",
Image: fmt.Sprintf("rancher/os-base:%s", config.VERSION),
Image: config.OS_BASE,
Labels: map[string]string{
config.SCOPE: config.SYSTEM,
},

View File

@@ -50,7 +50,7 @@ func selinuxCommand() cli.Command {
"-v", "/etc/selinux:/etc/selinux",
"-v", "/var/lib/selinux:/var/lib/selinux",
"-v", "/usr/share/selinux:/usr/share/selinux",
fmt.Sprintf("rancher/os-selinuxtools:%s", config.VERSION+config.SUFFIX), "bash"}
fmt.Sprintf("%s/os-selinuxtools:%s%s", config.OS_REPO, config.VERSION, config.SUFFIX), "bash"}
syscall.Exec("/bin/system-docker", argv, []string{})
return nil
}