templates/packer: update amazon plugin
This commit is contained in:
parent
06fbd926ae
commit
98eda72499
2 changed files with 10 additions and 0 deletions
8
templates/packer/config.pkr.hcl
Normal file
8
templates/packer/config.pkr.hcl
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
packer {
|
||||||
|
required_plugins {
|
||||||
|
amazon = {
|
||||||
|
version = ">= 1.1.1"
|
||||||
|
source = "github.com/hashicorp/amazon"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -19,5 +19,7 @@ image_users = [$PACKER_IMAGE_USERS]
|
||||||
EOF2
|
EOF2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
/usr/bin/packer init /osbuild-composer/templates/packer
|
||||||
|
|
||||||
# disable parallel builds as it fails consistently while waiting for AMI
|
# disable parallel builds as it fails consistently while waiting for AMI
|
||||||
/usr/bin/packer build -parallel-builds=1 "$PACKER_ONLY_EXCEPT" /osbuild-composer/templates/packer
|
/usr/bin/packer build -parallel-builds=1 "$PACKER_ONLY_EXCEPT" /osbuild-composer/templates/packer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue