packer-qemu/Makefile

14 lines
274 B
Makefile
Raw Normal View History

2020-02-09 14:30:03 +00:00
.PHONY: up
2020-02-10 07:40:08 +00:00
up: ssh
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
ssh: packer/assets/id_rsa_qemu packer/assets/id_rsa_qemu.pub
@if [ ! -f $< ]; then \
ssh-keygen -a 100 -C antoinroux@hotmail.fr -t ed25519 -N "" -b 2048 -q -f $<; \
fi