blob: 2bd5d333857ad2affcb74676d6372aa8c47f0995 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Packer Templates
This folder contains Packer templates for creating custom VM images.
# Usage
1. Make sure you have a file called `credentials.pkr.hcl` at the root of packer.
2. Go into a subdirectory corresponding to an image.
3. Validate the packer template.
4. Build the image.
```sh
cd <image subfolder>
packer validate -var-file=../credentials.pkr.hcl ./<image template>.pkr.hcl
packer build -var-file=../credentials.pkr.hcl ./<image template>.pkr.hcl
```
|