Skip to content

Commit

Permalink
feat: adds RHEL 8.4 packer config (#128)
Browse files Browse the repository at this point in the history
* feat: adds RHEL 8.4 packer config

* feat: adds build target for RHEL84
  • Loading branch information
tillt authored Nov 15, 2021
1 parent 339424d commit 44967dd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
14 changes: 12 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,24 @@ centos8-nvidia: ## Build Centos 8 image with GPU support

.PHONY: rhel8
rhel8: build
rhel8: ## Build RHEL 8 image
rhel8: ## Build RHEL 8.2 image
./bin/konvoy-image build images/ami/rhel-8.yaml

.PHONY: rhel8-nvidia
rhel8-nvidia: build
rhel8-nvidia: ## Build RHEL 8 image with GPU support
rhel8-nvidia: ## Build RHEL 8.2 image with GPU support
./bin/konvoy-image build images/ami/rhel-8.yaml --overrides overrides/nvidia.yaml

.PHONY: rhel84
rhel84: build
rhel84: ## Build RHEL 8.4 image
./bin/konvoy-image build images/ami/rhel-84.yaml

.PHONY: rhel84-nvidia
rhel84-nvidia: build
rhel84-nvidia: ## Build RHEL 8.4 image with GPU support
./bin/konvoy-image build images/ami/rhel-84.yaml --overrides overrides/nvidia.yaml

flatcar-version.yaml:
./hack/fetch-flatcar-ami.sh

Expand Down
15 changes: 15 additions & 0 deletions images/ami/rhel-84.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
download_images: true

packer:
ami_filter_name: "RHEL-8.4.0_HVM-*"
ami_filter_owners: "309956199498"
distribution: "RHEL"
distribution_version: "8"
source_ami: ""
ssh_username: "ec2-user"
root_device_name: "/dev/sda1"
volume_size: "15"

build_name: "rhel-8.4"
packer_builder_type: "amazon"
python_path: ""

0 comments on commit 44967dd

Please sign in to comment.