1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 07:15:41 +00:00

fix current console detection

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-07-14 18:05:57 +10:00
parent d9d3c2b0d8
commit 6fcc1e3967
5 changed files with 44 additions and 24 deletions

View File

@@ -126,7 +126,7 @@ func consoleInitFunc() error {
log.Error(err)
}
if err := ioutil.WriteFile(consoleDone, []byte(cfg.Rancher.Console), 0644); err != nil {
if err := ioutil.WriteFile(consoleDone, []byte(CurrentConsole()), 0644); err != nil {
log.Error(err)
}