From 0e77e9b106ea09f73e0a65d57c2c39623c32bf46 Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Sat, 20 Aug 2016 15:58:20 -0400 Subject: [PATCH] Update README. --- README.md | 63 +++++++++++-------------------------------------------- 1 file changed, 12 insertions(+), 51 deletions(-) diff --git a/README.md b/README.md index 3478015..350d35f 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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: @@ -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 @@ -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 () - -# 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. @@ -125,3 +85,4 @@ If you experience issues with packer, please use `PACKER_LOG=1 packer ... ` to f # License TBD +