leonkyneur / packer-qemu

Docker image for building qemu images with packer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

packer-qemu

Docker image for building qemu images with packer

Build qemu based image

docker run --rm                                                                    \
  -e PACKER_LOG=1                                                                  \
  -e PACKER_LOG_PATH="packer-docker.log"                                           \
  -it                                                                              \
  --privileged                                                                     \
  --cap-add=ALL -v /lib/modules:/lib/modules                                       \
  -v `pwd`:/opt/                                                                   \
  -w /opt/ leonkyneur/packer-qemu build -var-file=hardened.json CentOS-6-qemu.json

About

Docker image for building qemu images with packer

License:Mozilla Public License 2.0