How to build a CES-image
Requirements
git
installedpacker
installed (see packer.io)VirtualBox
,QEMU
and/orVMware
installed
1. Check out the ecosystem repository
-
git clone https://github.com/cloudogu/ecosystem.git
2. Build the image(s) with packer
cd <ecosystem-path>/images/
-
packer build -var "timestamp=$(date +%Y%m%d)" template.prod.json
- Builds all images for production
- To get only a specific build for one of the hypervisors, use the
--only=<image-type>
parameter. With it, the image type can be configured toecosystem-virtualbox
,ecosystem-vmware
orecosystem-qemu
- The default user is
ces-admin
with passwordces-admin
(will be changed in setup process)
-
packer build template.dev.json
- Builds an image for development
-
Adds development tools like
htop
andjq
to the the vm. A full list can be found in the following files: - The default user is
vagrant
with passwordvagrant