Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viglesiasce/cloud-images
Kickstarts and such for various cloud starter images
https://github.com/viglesiasce/cloud-images
Last synced: 2 months ago
JSON representation
Kickstarts and such for various cloud starter images
- Host: GitHub
- URL: https://github.com/viglesiasce/cloud-images
- Owner: viglesiasce
- Created: 2014-05-22T23:52:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-01T07:35:09.000Z (over 9 years ago)
- Last Synced: 2023-03-11T09:52:54.816Z (almost 2 years ago)
- Language: Shell
- Size: 431 KB
- Stars: 15
- Watchers: 5
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloud Images
This repository is intended to allow for the easy creation and customization of cloud images for use on KVM based cloud computing infrastructures. We are using Packer to create repeatable images.The steps provided here were tested on CentOS 6.
# How To
1. Download [Packer](http://www.packer.io/):
wget https://dl.bintray.com/mitchellh/packer/0.6.1_linux_amd64.zip -O packer.zip
2. Unzip [Packer](http://www.packer.io/)
unzip packer.zip -d /usr/local/bin
3. Install [virt-sysprep](http://libguestfs.org/virt-sysprep.1.html)
yum install -y libguestfs-tools-c
4. Download this repositorywget https://github.com/viglesiasce/cloud-images/archive/master.zip -O cloud-images-master.zip
5. Unzip this repositoryunzip cloud-images-master.zip
6. Enter the directory of the image you'd like to createcd cloud-images-master/centos-6
7. Run Packerpacker build centos-packer.json
8. Sysprep the imagevirt-sysprep -a output-qemu/*.raw
Once that process completes you will have a RAW image in the `output-qemu` directory which is ready to be uploaded to your cloud of choice.
For example in Eucalyptus 4.0:
euca-install-image -i output-qemu/centos-6-base.raw --virtualization-type hvm -b centos-base -r x86_64 --name centos-base
# Customizing your image
In order to customize your image change the parameters in the json file found in each distro's folder. Here you can change the size, output format, or provisioning/customization steps.For more information on how to customize a Packer run please see: http://www.packer.io/docs
# Contributing
In order to contribute a new distro send a pull request with a new folder with the name of the distribution. This folder should contain all the artifacts necessary to create the most basic functioning cloud image based on this distribution.