summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Messner2018-02-19 11:01:03 +0100
committerManuel Messner2018-02-19 11:01:03 +0100
commit26cc3d67dcb6e5f85747716e6abd20a48d1df632 (patch)
tree88b5466586939aa2c3c7f669a1cca3b7409782c6
parentMakefile: move check for ROOTPW out of target context (diff)
downloadpacker-templates-26cc3d67dcb6e5f85747716e6abd20a48d1df632.tar.gz
packer-templates-26cc3d67dcb6e5f85747716e6abd20a48d1df632.tar.xz
packer-templates-26cc3d67dcb6e5f85747716e6abd20a48d1df632.zip
Makefile: move headless setting to WINDOW variable
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index eec8c62..c294f05 100644
--- a/Makefile
+++ b/Makefile
@@ -45,6 +45,9 @@ ifdef DEBUG
PACKER_OPTS += -debug
endif
+ifdef WINDOW
+ PACKER_OPTS += -var='headless=false'
+endif
# We support parallel Provisioning packer builds.
# To ensure data consistency we save the used ansible roles before executing in
@@ -69,8 +72,6 @@ endif
ifdef VERBOSE
- PACKER_OPTS += -var='headless=false'
-
$(info root password: $(ROOTPW))
$(info hasher: $(HASHER))
$(info )