1
0
mirror of https://github.com/rancher/os.git synced 2025-08-25 17:59:17 +00:00

Add upgrade image name

This commit is contained in:
Darren Shepherd 2015-03-19 14:57:53 -07:00
parent 932709e3ba
commit 130caa1abd
2 changed files with 6 additions and 2 deletions

View File

@ -55,7 +55,8 @@ func NewConfig() *Config {
Datasources: []string{"configdrive:/media/config-2"},
},
Upgrade: UpgradeConfig{
Url: "http://storage.googleapis.com/releases_rancher_com/rancheros/versions.yml",
Url: "https://releases.rancher.com/os/versions.yml",
Image: "rancher/os",
},
BootstrapContainers: []ContainerConfig{
{

View File

@ -26,6 +26,7 @@ type ContainerConfig struct {
Cmd string `yaml:"run,omitempty"`
MigrateVolumes bool `yaml:"migrate_volumes,omitempty"`
ReloadConfig bool `yaml:"reload_config,omitempty"`
CreateOnly bool `yaml:create_only,omitempty`
}
type Config struct {
@ -53,7 +54,9 @@ type ConsoleConfig struct {
}
type UpgradeConfig struct {
Url string `yaml:"url,omitempty"`
Url string `yaml:"url,omitempty"`
Image string `yaml:"image,omitempty"`
Rollback string `yaml:"rollback,omitempty"`
}
type DnsConfig struct {