1
0
mirror of https://github.com/rancher/os.git synced 2025-09-03 07:44:21 +00:00

make centos/fedora consoles work by just starting bash

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>

WIP - dont merge

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-07-14 13:15:43 +10:00
parent d859052453
commit d9d3c2b0d8
4 changed files with 35 additions and 9 deletions

View File

@@ -15,6 +15,7 @@ func recoveryInitAction(c *cli.Context) error {
}
os.Setenv("TERM", "linux")
os.Setenv("PS1", `[Recovery Console: \l \u@\h \W]\$`)
respawnBinPath, err := exec.LookPath("respawn")
if err != nil {