Commit 2de0238f authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

command/build: Change default colors

parent 0f98852d
......@@ -90,10 +90,10 @@ func (c Command) Run(env packer.Environment, args []string) int {
// Compile all the UIs for the builds
colors := [5]packer.UiColor{
packer.UiColorGreen,
packer.UiColorCyan,
packer.UiColorMagenta,
packer.UiColorYellow,
packer.UiColorBlue,
packer.UiColorMagenta,
packer.UiColorCyan,
}
buildUis := make(map[string]packer.Ui)
......@@ -115,6 +115,9 @@ func (c Command) Run(env packer.Environment, args []string) int {
ui.Say(fmt.Sprintf("%s output will be in this color.", b.Name()))
}
// Add a newline between the color output and the actual output
env.Ui().Say("")
// Prepare all the builds
for _, b := range builds {
log.Printf("Preparing build: %s", b.Name())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment