Find a file
2014-01-31 16:38:54 +00:00
keys nixos 14pre 2014-01-31 11:28:11 +00:00
nixos keep the os closer to nixos and move custom bits into the sdk (at least for now) 2014-01-31 16:38:54 +00:00
scripts keep the os closer to nixos and move custom bits into the sdk (at least for now) 2014-01-31 16:38:54 +00:00
.gitignore Porting to packer 2013-07-22 12:09:04 +01:00
LICENSE Add MIT license 2013-11-27 21:55:42 +00:00
README.md keep the os closer to nixos and move custom bits into the sdk (at least for now) 2014-01-31 16:38:54 +00:00
template.json keep the os closer to nixos and move custom bits into the sdk (at least for now) 2014-01-31 16:38:54 +00:00

OS Image build scripts

Cycle's OS is based on NixOS, a linux distribution with a purely functional package manager.

These scripts build .box images that can be used by vagrant for development, and other images suitable for production.

See CycleSDK for the complete development environment (which makes use of the images generated here).

Building the images

First install packer and virtualbox

Then:

packer build template.json

The .box image is now ready to go. Install it into Vagrant via:

Updating the public box image

s3put is handy tool for copying files to Amazon S3, it's part of the boto library.

Install boto:

pip install boto

Push the .box image to S3 via s3put

s3put -a $AWS_ID -s $AWS_KEY -b oxdi -g public-read --prefix `pwd` cycle-xx.xx-x86_64-virtualbox.box

The box will then be available at http://amazonaws.com/oxdi/cycle64-virtualbox.box