summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan Bauer2018-02-20 10:39:44 +0100
committerJonathan Bauer2018-02-20 10:39:44 +0100
commit6ab7c497f444958b27f95d640b7fb5ffef76fa5d (patch)
tree1bfd7a013de66768a7b36620a8e0f4c8eceaea1d /Makefile
parentMakefile: refactor search for available builders (diff)
downloadpacker-templates-6ab7c497f444958b27f95d640b7fb5ffef76fa5d.tar.gz
packer-templates-6ab7c497f444958b27f95d640b7fb5ffef76fa5d.tar.xz
packer-templates-6ab7c497f444958b27f95d640b7fb5ffef76fa5d.zip
Makefile: indent all variable definitions in the same way
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index b6d4cb8..e896904 100644
--- a/Makefile
+++ b/Makefile
@@ -2,13 +2,13 @@
# 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
-SHELL := /usr/bin/env bash
-ARCH := $(shell uname -m | sed 's/i686/i386/')
+SHELL := /usr/bin/env bash
+ARCH := $(shell uname -m | sed 's/i686/i386/')
BUILDER_QEMU_EXE := qemu-system-$(ARCH)
BUILDER_QEMU_NAME := qemu
@@ -41,7 +41,6 @@ PROVTARGETS := $(foreach template, $(TEMPLATES), $(foreach flavor, $(FLAVORS), $
BOOTTARGETS := $(foreach template, $(TEMPLATES), $(template)/base/boot)
BOOTTARGETS += $(foreach prov, $(PROVTARGETS), $(prov)/boot)
-
PACKER_OPTS += -var-file=base.json
ifdef DEBUG
VERBOSE := 1