Feature Name BoxGrinder
BoxGrinder creates appliances (virtual machines) from simple plain text appliance definition files for various virtual platforms.
- Name: Marek Goldmann
- Email: email@example.com
- Targeted release: Fedora 15
- Last updated: 2010-11-26
- Percentage of completion: 68%
- Packages submitted for review:
- rubygem-boxgrinder-core (built for rawhide, waiting for deps to build on F13/F14)
- rubygem-boxgrinder-build (built for rawhide, waiting for deps to build on F13/F14)
- rubygem-boxgrinder-build-rpm-based-os-plugin (NEW – ready for review)
- rubygem-boxgrinder-build-fedora-os-plugin (ASSIGNED – ready for review)
- rubygem-boxgrinder-build-vmware-platform-plugin (NEW – ready for review)
- rubygem-boxgrinder-build-local-delivery-plugin (NEW – ready for review)
- rubygem-boxgrinder-build-sftp-delivery-plugin (NEW – ready for review)
- rubygem-boxgrinder-build-s3-delivery-plugin (need to fix BGBUILD-55 first)
- rubygem-boxgrinder-build-ec2-platform-plugin (waiting for S3 delivery plugin)
- rubygem-boxgrinder-build-ebs-delivery-plugin (waiting for S3 delivery plugin)
- All spec files recreated and all review requests updated with new files. Everything builds fine in my mock environment now. --Goldmann 11:09, 26 November 2010 (UTC)
BoxGrinder is a set of tools used for building appliances (virtual machines) for various platforms (KVM, Xen, VMware, EC2).
BoxGrinder creates appliances (images/virtual machines) from simple plain text Appliance Definition Files. There are only two simple steps to create an appliance:
- Create Appliance Definition File
- Run BoxGrinder. BoxGrinder will download all necessary artifact, build the instance, convert it to selected platform and upload it to selected destination. All in one process!
See Quick start page for more info.
Appliance definition file
Example appliance definition file:
name: f14-jeos summary: Just Enough Operating System based on Fedora 14 os: name: fedora version: 14 hardware: partitions: "/": size: 2 packages: includes: - @core
BoxGrinder Build architecture
How it works
BoxGrinder Build has a plugin architecture. We can distinguish three types:
- Operating System plugins – generating base appliance for selected OS,
- Platform plugins – creating converted base appliance for selected platform (VMware, EC2),
- Delivery plugins – designed to deliver your new appliance to a specified location. For example as a tar file to a remote server or just register as AMI on EC2.
Benefit to Fedora
Creating and delivering Fedora-based appliances to various virtual platforms like KVM, VMware, EC2.
Watch review request, fix all specs to meets Fedora Guidelines.
How To Test
- Save sample appliance definition file as f14-jeos.appl.
- Create local delivery plugin configuration file, and store it as $HOME/.boxgrinder/plugins/local.
- Install and run BoxGrinder.
Sample local delivery plugin configuration file
path: /home/goldmann/builds overwrite: false # default: false package: true # default: true
Commands to execute
yum install rubygem-boxgrinder-build-fedora-os-plugin rubygem-boxgrinder-build-vmware-platform-plugin boxgrinder-build jeos-f14.appl -p vmware -d local
It should produce a virtual machine, convert it to VMware format and store in /home/goldmann/builds dir as tarred file.
BoxGrinder will allow for easy and fast appliance creation and delivery.
- various rubygems
- rubygem-hashery (CLOSED, pushed to F13/F14/rawhide)
BoxGrinder is already released and packaged. It only needs to be reviewed and included, but if this fails we're still able to install BoxGrinder using RubyGems and gem install command.
- Main BoxGrinder documentation page
- BoxGrinder Build plugins
- BoxGrinder Build Quick start
- BoxGrinder appliance definition file explained
Comments and Discussion
If you need help – please contact us. We're available on IRC (#boxgrinder/irc.freenode.net) and on forums.