packer-qemu/Makefile

14 lines
264 B
Makefile
Raw Normal View History

2020-02-09 14:30:03 +00:00
.PHONY: up
2020-02-10 07:40:08 +00:00
2020-02-12 06:47:36 +00:00
up: packer/assets/id_rsa_qemu
2020-02-09 14:30:03 +00:00
docker-compose up --build -d
2020-02-10 07:40:08 +00:00
exec:
docker-compose exec gentoo_packer bash
2020-02-12 06:47:36 +00:00
packer/assets/id_rsa_qemu:
@if [ ! -f "$@" ]; then \
ssh-keygen -a 100 -C antoinroux@hotmail.fr -t ed25519 -N "" -b 2048 -q -f $@; \
2020-02-10 07:40:08 +00:00
fi