mirror of
https://github.com/rancher/os.git
synced 2025-07-03 18:16:13 +00:00
Make console version different from OS version
This commit is contained in:
parent
4524251129
commit
ae5d41b696
@ -279,7 +279,7 @@ func NewConfig() *Config {
|
||||
"ubuntu-console": {
|
||||
SystemContainers: map[string]*project.ServiceConfig{
|
||||
"console": {
|
||||
Image: "rancher/ubuntuconsole:" + VERSION,
|
||||
Image: "rancher/ubuntuconsole:" + IMAGE_VERSION,
|
||||
Privileged: true,
|
||||
Labels: []string{
|
||||
DETACH + "=true",
|
||||
|
@ -26,6 +26,7 @@ const (
|
||||
|
||||
var (
|
||||
VERSION string
|
||||
IMAGE_VERSION string
|
||||
CloudConfigFile = "/var/lib/rancher/conf/cloud-config-rancher.yml"
|
||||
ConfigFile = "/var/lib/rancher/conf/rancher.yml"
|
||||
PrivateConfigFile = "/var/lib/rancher/conf/rancher-private.yml"
|
||||
@ -120,4 +121,7 @@ func init() {
|
||||
if VERSION == "" {
|
||||
VERSION = "v0.0.0-dev"
|
||||
}
|
||||
if IMAGE_VERSION == "" {
|
||||
IMAGE_VERSION = "v0.2.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user