Right now when apply manifests fail, just shows a
cryptic error. Showing the whole output of the command
now, to allow troubleshoot.
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I7141950e516250368be7dc6705d8071bec64b8f8
// now generate the manifests
cmd = exec.Command(fmt.Sprintf("%s/openshift-install", binariesPath), "create", "manifests", fmt.Sprintf("--dir=%s", assetsPath), "--log-level", "debug")
- err = cmd.Run()
+ out, err = cmd.Output()
if err != nil {
log.Fatal(fmt.Sprintf("Error creating manifests: %s", err))
+ log.Println(out)
os.Exit(1)
}