1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

remove dependency on version string

using rancher.rm_usr kernel param instead
This commit is contained in:
Ivan Mikushin
2015-10-06 18:41:04 +05:00
parent 4899ccd89c
commit c79a64e42e
4 changed files with 20 additions and 14 deletions

View File

@@ -129,7 +129,7 @@ func tryMountAndBootstrap(cfg *config.CloudConfig) (*config.CloudConfig, error)
}
log.Debugf("Switching to new root at %s", STATE)
return cfg, switchRoot(STATE)
return cfg, switchRoot(STATE, cfg.Rancher.RmUsr)
}
func getLaunchConfig(cfg *config.CloudConfig, dockerCfg *config.DockerConfig) (*dockerlaunch.Config, []string) {