command/build: Change default colors
This commit is contained in:
parent
0f98852d4d
commit
2de0238f10
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue