You are troubleshooting a Packer build that uses the 'shell' provisioner. Which environment variable can you check to see the absolute path to the build directory?
Trap 1: PWD
This is the system shell variable, not specific to Packer.
Trap 2: PACKER_BUILDER_TYPE
This identifies the builder type.
Trap 3: BUILD_DIR
This is not a standard Packer variable.
- A
PACKER_BUILD_NAME
This identifies the name of the build.
- B
PWD
Why wrong: This is the system shell variable, not specific to Packer.
- C
PACKER_BUILDER_TYPE
Why wrong: This identifies the builder type.
- D
BUILD_DIR
Why wrong: This is not a standard Packer variable.