Skip to content

Commit

Permalink
run packer init
Browse files Browse the repository at this point in the history
  • Loading branch information
xorel committed Nov 3, 2023
1 parent 6231a75 commit 97af823
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packer/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ INPUT_DIR="$(dirname "$0")/$DISTRO_NAME" # e.g. packer/debian
OUTPUT_DIR="$DIR_BUILD/$DISTRO" # e.g. build/debian11 (working dir)
mkdir -p "$OUTPUT_DIR"

packer init "$INPUT_DIR"

packer build -force \
-var "appliance_name=${DISTRO}" \
-var "version=${DISTRO_VER}" \
Expand Down

0 comments on commit 97af823

Please sign in to comment.