Skip to content

geniussportsgroup/packer-rhel7-vms

 
 

Repository files navigation

Packer templates for Red Hat Enterprise 7 x86_64

Overview

This repository contains templates for RHEL7 x86_64 that creates Vagrant boxes using Packer.

Prerequisites

To build all the boxes, you will need Packer and both VirtualBox and VMware Fusion installed. You will also need the RHEL7 64-bit ISO from Red Hat and, if using VirtualBox, the guest additions ISO matching the version of VirtualBox you are using (see here). VMWare Fusion comes packaged with their tools.

Once you've obtained the ISOs, copy all of them into the same directory (e.g. /usr/local/isos).

Creating the boxes

  • Export ISO_URL to the location of the installation ISO
  • Run packer with either the rhel-7.0-vbox.json or rhel-7.0-vmware.json template
  • Add the box to Vagrant
  • Build VMs

Example

$ export ISO_URL=file:///usr/local/isos/rhel-server-7.0-x86_64-dvd.iso
$ packer build rhel-7.0-vbox.json
$ packer build rhel-7.0-vmware.json
$ vagrant box add rhel-7.0-vbox ./rhel-7.0-vbox.box
$ vagrant box add rhel-7.0-vmware ./rhel-7.0-vmware.box

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%