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

Merge pull request #1056 from joshwget/respect-customization

Fix two instances where customization isn't respected
This commit is contained in:
Darren Shepherd
2016-06-28 15:44:08 -07:00
committed by GitHub
4 changed files with 9 additions and 3 deletions

View File

@@ -76,7 +76,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
}