(really) fix vagrant log file name

This commit is contained in:
Olof hagsand 2022-11-29 16:33:10 +01:00
parent 6244db3673
commit d91eebf889

View file

@ -63,9 +63,11 @@ logs:
# appear eg as generic/centos8.log
$(VAGRANTS): logs
ifdef LOGDIR
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 > "$(LOGDIR)/$(subst /,-,$@)-$(RESTCONF).log"
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 > "$(LOGDIR)/vagrant-$(RESTCONF)-$\
(subst /,-,$@).log"
else
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 | tee "logs/$(subst /,-,$@)-$(RESTCONF).log"
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 | tee "logs/vagrant-$(RESTCONF)-$(\
subst /,-,$@).log"
endif
destroy: