summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2018-02-13 13:43:17 +0100
committerJonathan Bauer2018-02-13 13:43:17 +0100
commite2273f90cbbee97c523c51de0d8672e96b6a3f0d (patch)
treee5cd6028dcc200fd1838e35d7fc422850a1791ec
parentMakefile: validate passwords on provisioning targets (diff)
downloadpacker-templates-e2273f90cbbee97c523c51de0d8672e96b6a3f0d.tar.gz
packer-templates-e2273f90cbbee97c523c51de0d8672e96b6a3f0d.tar.xz
packer-templates-e2273f90cbbee97c523c51de0d8672e96b6a3f0d.zip
Makefile: symlink latest provisioning build as <flavor>.latest
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6b2ec18..380c4f6 100644
--- a/Makefile
+++ b/Makefile
@@ -112,6 +112,7 @@ $(foreach flav, $(FLAVORS), %/$(flav)): %/base
-var='base_image=$(@D)/base/rootfs-image' \
-var='playbook=setup-$(@F).yml' \
$(BUILD_DIR)/$(ANSIBLE_DIR)/run-playbook-only.json
+ @ln -sfn $(@F).$(TIMESTAMP) $(@D)/$(@F).latest
# Generating boot files