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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user