Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 994 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 994 Bytes

build/packer

This directory contains Packer templates that automate building VM images. Each .json file is a packer template.

To use

  1. Install Packer:
    brew install packer
  2. Configure gcloud with your personal User Application Default Credentials.
  3. Run:
    packer build <VM_TEMPLATE>.json

The location of the created VM image will be printed when the build completes.

Template Basics

Each template specifies which cloud to build the image in, a base VM image and one or more scripts that are run to configure the VM image.

Available VMs

At present, there is only VM template available and it builds TeamCity agent images for Google Compute Engine. You'll need to be either authenticated with the gcloud tool or provide your Google Cloud JSON credentials in a known location.