Skip to content

Customized BuiltIn template in Apache CloudStack used in integration testing

Notifications You must be signed in to change notification settings

vogxn/packer-builtin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BuiltIn customized for Apache CloudStack testing

This is a packer template for building a sample builtin based on CentOS 6.4 (minimal). The purpose of this is to illustrate building templates on your own.

The template here is used in test environments in place of the regular CentOS 5.6 (builtin) that comes by default with CloudStack. Test environments that run integration tests based on marvin often require custom packages within the guest to verify certain functionalities provided by CS.

For eg: HAProxy tests for webserver loadbalancing requires the httpd service to be up and functional.

Requirements

Needs packer, vagrant and virtualbox/vmware-fusion. You can also build this on Amazon EC2

Customize

change the script in base.sh/script.sh etc

Build

$ packer build builtin.json $ vagrant add builtin.box builtin $ vagrant up $ ./build.sh (to build vhd/qcow2/ova)

Usage

Replace the templates.sql before you install cloudstack with the url to this image. Then run cloudstack-setup-databases.

About

Customized BuiltIn template in Apache CloudStack used in integration testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published