diff options
author | Jonathan Bauer | 2020-03-19 16:47:41 +0100 |
---|---|---|
committer | Jonathan Bauer | 2020-03-19 16:47:41 +0100 |
commit | 7364c8b30a579966fa6aead37f26d104f423da02 (patch) | |
tree | df1c315679c841cf04262e1d160413184a7f78d9 /Makefile | |
parent | centos-8: fix missing boot_wait (diff) | |
download | packer-templates-7364c8b30a579966fa6aead37f26d104f423da02.tar.gz packer-templates-7364c8b30a579966fa6aead37f26d104f423da02.tar.xz packer-templates-7364c8b30a579966fa6aead37f26d104f423da02.zip |
Makefile: actually check ROOTPW in base targets
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ TIMESTAMP := $(shell date "+%Y-%m-%d_%H-%M-%S") # The ROOTPW is only needed for the base, boot and provisioning targets. # In every other case it must not be checked as it should be possible to call # help or cleanup without the need of defining the password. -PW_NEEDED := $(filter $(strip $(PROVTARGETS) $(BOOTTARGETS)),$(MAKECMDGOALS)) +PW_NEEDED := $(filter $(strip $(BASETARGETS) $(PROVTARGETS) $(BOOTTARGETS)),$(MAKECMDGOALS)) ifneq ($(PW_NEEDED),) ifeq ($(strip $(ROOTPW)),) $(error No root password is set, set it as ROOTPW in your environment.) |