From 890052273e3480d43bc83b7580933f06d0b0de15 Mon Sep 17 00:00:00 2001 From: Ivan Mikushin Date: Wed, 22 Jul 2015 19:18:43 +0500 Subject: [PATCH] log bootstrap and autoformat services --- init/bootstrap.go | 4 +++- scripts/run | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/init/bootstrap.go b/init/bootstrap.go index c386116b..0aaa7eaf 100644 --- a/init/bootstrap.go +++ b/init/bootstrap.go @@ -21,11 +21,13 @@ func autoformat(cfg *config.Config) error { AUTOFORMAT := "AUTOFORMAT=" + strings.Join(cfg.State.Autoformat, " ") FORMATZERO := "FORMATZERO=" + fmt.Sprint(cfg.State.FormatZero) cfg.Autoformat["autoformat"].Environment = project.NewMaporEqualSlice([]string{AUTOFORMAT, FORMATZERO}) + log.Info("Running Autoformat services") err := docker.RunServices("autoformat", cfg, cfg.Autoformat) return err } func runBootstrapContainers(cfg *config.Config) error { + log.Info("Running Bootstrap services") return docker.RunServices("bootstrap", cfg, cfg.BootstrapContainers) } @@ -70,7 +72,7 @@ func bootstrap(cfg *config.Config) error { return nil } - log.Info("Starting bootstrap") + log.Info("Launching Bootstrap Docker") c, err := startDocker(cfg) if err != nil { return err diff --git a/scripts/run b/scripts/run index 65ffce08..1d3ffeb3 100755 --- a/scripts/run +++ b/scripts/run @@ -86,7 +86,7 @@ fi UNAME=$(uname) -KERNEL_ARGS="rancher.password=rancher console=ttyS0 ${QEMU_APPEND}" +KERNEL_ARGS="quiet rancher.password=rancher console=ttyS0 ${QEMU_APPEND}" if [ "$UNAME" == "Darwin" ] && [ -x $(which xhyve) ]; then