mirror of
https://github.com/rancher/os.git
synced 2025-09-04 00:04:25 +00:00
Make console version different from OS version
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user