Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Packard committed Aug 20, 2016
1 parent 8bfceff commit 0e77e9b
Showing 1 changed file with 12 additions and 51 deletions.
63 changes: 12 additions & 51 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Introduction

This packer templates create vmware image of CentOS 7 with `.vmx` and `.ova`. In addition, there is an AMI you can create for AWS. You will need to have credentials setup according to [AWS credentials setup](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-config-files)
This packer templates create vmware image of CentOS 7 with `.box` and `.ova`. In addition, there is an AMI you can create for AWS. You will need to have credentials setup according to [AWS credentials setup](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-config-files)

The OS versions are:

Expand All @@ -16,7 +16,7 @@ For all operating systems we generate images for
- aws-centos7-base.json will build:
- AMI for AWS (user: centos/centos)

- sibboleth-appliance-vbox.json will build:
- sibboleth-appliance.json will build:
- VirtualBox (user: centos/centos)

This template only is tested against 64 bit systems. With the following sizing requirements:
Expand All @@ -36,13 +36,14 @@ This template only is tested against 64 bit systems. With the following sizing r

The templates are only tested with [packer](http://www.packer.io/downloads.html) 0.10.1 and later.

Your will need to provide a symbolic link to the `ansible-playbooks` directory for matching repo location.
```
ln -s ../ansible-playbooks ansible-playbooks
or
For local builds, you will need to provide a symbolic link to the `ansible-playbooks` directory for matching repo location. Make sure you have cloned and setup the [ansible-playbooks repo](https://github.internet2.edu/docker/ansible-playbooks).

```
# example
ln -s /path/to/ansible-playbooks ansible-playbooks
# specific setup
ln -s ../ansible-playbooks ansible-playbooks
```

### Pre-Requisites for AWS / AMI import
Expand All @@ -67,53 +68,12 @@ AMI build will require both `aws_access_key` and `aws_secret_key` to be setup wi
packer build aws-centos7-base.json
```
## Issues during build time
If you experience issues with packer, please use `PACKER_LOG=1 packer ... ` to find the errors.
## Author
- Author:: Mason Packard (<mason.packard@levvel.io>)
# License
TBD
# Packer Image Builder for CentOS
## Introduction
This packer templates create vmware image of CentOS 7 with `.vmx` file type.
The OS versions are:
- Centos 7
For all operating systems we generate images for
- VmWare (user: packer/changeme1234)
This template only is tested against 64 bit systems. With the following sizing requirements:
Shibboleth Appliance build for `.ova`, `.box`, and AWS ami
```
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "512",
"numvcpus": "2"
}
# Build CentOS for ova, box, ami
packer build shibboleth-appliance.json
```
```
"disk_size": 81920
```
## Requirements
The templates are only tested with [packer](http://www.packer.io/downloads.html) 0.10.1 and later.
## Run conversion process
# Build CentOS VMWare image
PACKER_LOG=1 packer build centos7.json
## Issues during build time
If you experience issues with packer, please use `PACKER_LOG=1 packer ... ` to find the errors.
Expand All @@ -125,3 +85,4 @@ If you experience issues with packer, please use `PACKER_LOG=1 packer ... ` to f
# License
TBD

0 comments on commit 0e77e9b

Please sign in to comment.