1
0
mirror of https://github.com/rancher/os.git synced 2025-09-18 16:27:31 +00:00

Initial fix to stop other containers before the console

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-07-28 11:50:07 +10:00
parent 5716be7a34
commit 67d932d9f8
8 changed files with 66 additions and 16 deletions

View File

@@ -1,6 +1,7 @@
package control
import (
"fmt"
"os"
"github.com/codegangsta/cli"
@@ -14,7 +15,7 @@ func Main() {
app := cli.NewApp()
app.Name = os.Args[0]
app.Usage = "Control and configure RancherOS"
app.Usage = fmt.Sprintf("Control and configure RancherOS\nbuilt: %s", config.BuildDate)
app.Version = config.Version
app.Author = "Rancher Labs, Inc."
app.EnableBashCompletion = true

View File

@@ -11,7 +11,6 @@ import (
func selinuxCommand() cli.Command {
app := cli.Command{}
app.Name = "selinux"
app.Usage = "Launch SELinux tools container."
app.Action = func(c *cli.Context) error {
argv := []string{"system-docker", "run", "-it", "--privileged", "--rm",
"--net", "host", "--pid", "host", "--ipc", "host",

View File

@@ -36,7 +36,6 @@ func Commands() cli.Command {
app := cli.Command{}
app.Name = "service"
app.ShortName = "s"
app.Usage = "Command line interface for services and compose."
app.Before = beforeApp
app.Flags = append(dockerApp.DockerClientFlags(), cli.BoolFlag{
Name: "verbose,debug",