summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Messner2018-02-12 16:52:36 +0100
committerManuel Messner2018-02-12 16:54:09 +0100
commitdaa2587d660d84fe98bd484d593a0e3ab65929be (patch)
tree50287273d4f0e6db24ba4b025db857180e70dcd0
parentMakefile: check_rootpw: refactor (diff)
downloadpacker-templates-daa2587d660d84fe98bd484d593a0e3ab65929be.tar.gz
packer-templates-daa2587d660d84fe98bd484d593a0e3ab65929be.tar.xz
packer-templates-daa2587d660d84fe98bd484d593a0e3ab65929be.zip
Makefile: move headless option to verbose
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ff85f78..5ef908d 100644
--- a/Makefile
+++ b/Makefile
@@ -38,9 +38,8 @@ BOOTTARGETS += $(foreach prov, $(PROVTARGETS), $(prov)/boot)
PACKER_OPTS := -var-file=base.json
ifdef DEBUG
- VERBOSE := 1
+ VERBOSE := 1
PACKER_OPTS += -debug
- PACKER_OPTS += -var='headless=false'
endif
@@ -51,6 +50,8 @@ TIMESTAMP := $(shell date "+%Y-%m-%d_%H-%M-%S")
ifdef VERBOSE
+ PACKER_OPTS += -var='headless=false'
+
$(info root password: $(ROOTPW))
$(info )
$(info timestamp: $(TIMESTAMP))