Skip to content

jmassara/packer-rhel7-vms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

365de1e · Jun 30, 2018

History

32 Commits
Jul 10, 2017
Sep 8, 2016
Feb 8, 2017
Jun 13, 2017
Jul 31, 2014
Apr 10, 2015
Jul 31, 2014
Dec 4, 2015
Dec 4, 2015
Sep 8, 2016
Dec 4, 2015
Feb 8, 2017
Feb 8, 2017
Nov 3, 2017
Nov 3, 2017

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