1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00

Revert "WIP New ros cli"

This commit is contained in:
Sven Dowideit
2017-03-14 12:11:24 +10:00
committed by GitHub
parent 4cd73c111e
commit 2d92956c82
13 changed files with 134 additions and 622 deletions

3
cmd/control/console.go Executable file → Normal file
View File

@@ -66,7 +66,7 @@ func consoleSwitch(c *cli.Context) error {
1. destroy the current console container
2. log you out
3. restart Docker`)
if !util.Yes("Continue") {
if !yes("Continue") {
return nil
}
}
@@ -111,7 +111,6 @@ func consoleEnable(c *cli.Context) error {
cfg := config.LoadConfig()
validateConsole(newConsole, cfg)
//TODO: why does default not need to be staged?
if newConsole != "default" {
if err := compose.StageServices(cfg, newConsole); err != nil {
return err