Build RHEL 7:
# packer build rhel7.pkr.json
or
# packer build rhel7.pkr.hcl
Build RHEL 8:
# packer build rhel8.pkr.json
or
# packer build rhel8.pkr.hcl
Test after build:
# export RHEL_VERSION=8
# vagrant up
``´
Red Hat Enterprise Linux (RHEL) 7/8 Vagrant box creation using HashiCorp Packer
Build RHEL 7:
# packer build rhel7.pkr.json
or
# packer build rhel7.pkr.hcl
Build RHEL 8:
# packer build rhel8.pkr.json
or
# packer build rhel8.pkr.hcl
Test after build:
# export RHEL_VERSION=8
# vagrant up
``´
Red Hat Enterprise Linux (RHEL) 7/8 Vagrant box creation using HashiCorp Packer