diff options
author | Jonathan Bauer | 2018-02-12 19:31:14 +0100 |
---|---|---|
committer | Jonathan Bauer | 2018-02-12 19:31:14 +0100 |
commit | 186ea48899f7205d37f52629356e3bb0a51c1390 (patch) | |
tree | a060ebb53aaa17bc39035bc54df2ba6a90422596 /Makefile | |
parent | Makefile: check_rootpw: add support for password hash check (diff) | |
download | packer-templates-186ea48899f7205d37f52629356e3bb0a51c1390.tar.gz packer-templates-186ea48899f7205d37f52629356e3bb0a51c1390.tar.xz packer-templates-186ea48899f7205d37f52629356e3bb0a51c1390.zip |
Makefile: validate passwords on provisioning targets
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -100,7 +100,7 @@ $(BASETARGETS): # Provisioning images $(PROVTARGETS): $(foreach flav, $(FLAVORS), %/$(flav)): %/base - $(call check_rootpw) + $(call check_rootpw,$(@D)) $(eval BUILD_DIR := $(@D)/$(@F).$(TIMESTAMP)) $(info ** Provisioning '$(@D)' with '$(@F)' **) @mkdir -p $(BUILD_DIR) @@ -117,7 +117,7 @@ $(foreach flav, $(FLAVORS), %/$(flav)): %/base # Generating boot files $(BOOTTARGETS): %/boot: % - $(call check_rootpw) + $(call check_rootpw,$(@D)) $(eval BUILD_DIR := $(@D).$(TIMESTAMP)) $(info ** Generating boot files for '$(BUILD_DIR)') $(PACKER) build -only=$(BUILDER) \ |