mirror of
https://github.com/rancher/os.git
synced 2025-07-31 06:32:09 +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") {
|
||||
in := bufio.NewReader(os.Stdin)
|
||||
fmt.Println("Switching consoles will destroy the current console container and restart Docker.")
|
||||
fmt.Println("Note: You will also be logged out.")
|
||||
fmt.Println(`Switching consoles will
|
||||
1. destroy the current console container
|
||||
2. log you out
|
||||
3. restart Docker`)
|
||||
if !yes(in, "Continue") {
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user