目录

Apache Infrastructure Packer

Packer is a tool for building virtual machines. Our team has used this to provide both vagrant images for local testing and cloud images for our production virtual machines.

Here’s a quick run down of what it works.

How to build virtual machines and influence people

First you’ll need to download packer. Once you’ve got that you’ll need a solution for virtualizing to build the VM. On Debian I installed qemu-kvm and needed to add my user to the kvm group. Once that was done it was just a matter of making tweaks: adding packages, changing the resources to fit your local system, or playing with ponies. PACKER_LOG=1 /where/is/packer build ubuntu-16.04.json will start blazing. Currenly the VM uses 3gb RAM, 3 vCPU a 10GB disk to build and headless qemu as pono was the last person to commit.

This particular .json is currently being debugged :)

关于
48.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号