mirror of
https://github.com/rancher/os.git
synced 2025-09-16 15:09:27 +00:00
Use docker images for the current architecture (vs just for amd64)
Fix #828, #835
This commit is contained in:
@@ -63,7 +63,7 @@ func installAction(c *cli.Context) {
|
||||
log.WithFields(log.Fields{"err": err}).Fatal("ros install: failed to load config")
|
||||
}
|
||||
if image == "" {
|
||||
image = cfg.Rancher.Upgrade.Image + ":" + config.VERSION
|
||||
image = cfg.Rancher.Upgrade.Image + ":" + config.VERSION + config.SUFFIX
|
||||
}
|
||||
|
||||
installType := c.String("install-type")
|
||||
|
@@ -49,7 +49,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), "bash"}
|
||||
fmt.Sprintf("rancher/os-selinuxtools:%s", config.VERSION + config.SUFFIX), "bash"}
|
||||
syscall.Exec("/bin/system-docker", argv, []string{})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user