Skip to content

ggeldenhuis/vcloud_packer_images

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vcloud_packer_images

Helps you generates an image from an iso ( currently tested using ubuntu 14.04 but should be pretty portable) which we can upload as a skyscape template.

Intended use

  • git clone git@github.com:UKHomeOffice/vcloud_packer_images.git
  • cd vcloud_packer_images
  • ./createimage -p p4ssw0rd build centos-66-x64 #for Centos 66
  • ./createimage -p p4ssw0rd build ubuntu-1404-x64 #for Ubuntu 14.04
  • ./createimage -u 123.456.789 -o 1234-456-223a -t centos -c CentOS upload centos-66-x64

** Required Fields for build**

  • -p password

** Required Fields for upload**

  • -d distro
  • -u username
  • -o org
  • -c catalog

TODO

  • Add to the build command so it runs a fix on any json configs before proceeding.
  • Figure out how to run this without infecting host system. (If you have vagrant running with something else other than virtualbox, you should be able to vagrant up)
  • Double check ruby dependancies are correct.

Requirements

The following is what you'll need on a fairly recent debian / ubuntu system.

Ubuntu

Mac os X

  • Use brew to install the dependencies above i.e. ruby etc.
  • Brew's version of packer isn't updated enough and doesn't understand the hardware version for the vmware-iso
  • wget -O packer.zip https://dl.bintray.com/mitchellh/packer/packer_0.7.5_darwin_amd64.zip && unzip packer.zip && rm packer.zip && sudo cp packer* /usr/local/bin
  • Download VMWARE Fusion for MAC
  • virtualenv venv && pip install -r requirements.txt

You'll also need ovftool if it isn't insalled with vmware-workstation / vmware fusion (MAC). Currently, this is only available on the vmware website after you signup.

You'll need to do some work if you want to run this on another type of host.

Would be nice

About

A way of managing packer images for vcloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 49.0%
  • Ruby 33.4%
  • HTML 14.1%
  • Shell 3.1%
  • ApacheConf 0.4%