mirror of
https://github.com/rancher/os.git
synced 2025-08-10 19:12:30 +00:00
Update console switch warning
This commit is contained in:
parent
b79533c7f9
commit
78fc0d15cc
@ -58,8 +58,10 @@ func consoleSwitch(c *cli.Context) error {
|
|||||||
|
|
||||||
if !c.Bool("force") {
|
if !c.Bool("force") {
|
||||||
in := bufio.NewReader(os.Stdin)
|
in := bufio.NewReader(os.Stdin)
|
||||||
fmt.Println("Switching consoles will destroy the current console container and restart Docker.")
|
fmt.Println(`Switching consoles will
|
||||||
fmt.Println("Note: You will also be logged out.")
|
1. destroy the current console container
|
||||||
|
2. log you out
|
||||||
|
3. restart Docker`)
|
||||||
if !yes(in, "Continue") {
|
if !yes(in, "Continue") {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user