0

I am running a bunch of packer scripts, but some of them generate too much output for logs and it's getting really annoying. Is there any way I can change my json file so that I can disable output for one of these shell scripts in packer?

One example of my packer shell script calls that I'd like silenced:

{
    "type": "shell",
    "scripts": [
        "scripts/yum_install_and_update"
        "scripts/do_magic"
    ]
}
ldanielw1
  • 331
  • 5
  • 15

1 Answers1

1

Packer doesn't natively support this, but if you can modify the scripts you could have them internally suppress the output.

Community
  • 1
  • 1
Sneal
  • 2,546
  • 20
  • 22