diff options
author | Manuel Messner | 2018-02-19 11:40:22 +0100 |
---|---|---|
committer | Manuel Messner | 2018-02-19 11:40:22 +0100 |
commit | 87de082ca3dbea586a1e6a69eb85930e7d4f7bbf (patch) | |
tree | 828e676d2231673e2228b21343da92b76c912b22 | |
parent | Makefile: extend help by the available options (diff) | |
download | packer-templates-87de082ca3dbea586a1e6a69eb85930e7d4f7bbf.tar.gz packer-templates-87de082ca3dbea586a1e6a69eb85930e7d4f7bbf.tar.xz packer-templates-87de082ca3dbea586a1e6a69eb85930e7d4f7bbf.zip |
Makefile: make variables changeable from outside
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,10 +2,10 @@ # TODO # * support ssh as user instead of root # * testing target -PACKER ?= packer -ANSIBLE_DIR = ansible-roles +PACKER ?= packer +ANSIBLE_DIR ?= ansible-roles -HASHER ?= sha256sum +HASHER ?= sha256sum # check which hypervisors are available @@ -39,7 +39,7 @@ BOOTTARGETS += $(foreach prov, $(PROVTARGETS), $(prov)/boot) -PACKER_OPTS := -var-file=base.json +PACKER_OPTS += -var-file=base.json ifdef DEBUG VERBOSE := 1 PACKER_OPTS += -debug |