This repo contains scripts for creating warden root filesystems.
- Vagrant
- Ruby 1.9.3-p484 or higher
lucid64/build
has a list of packages that are passed to apt-get install
.
To add new packages, just add the name of the package to that list.
To create a rootfs for the lucid64 stack:
gem install bundler
./init
./build_stack lucid64
s3 bucket is used by warden-test-infrastructure, so it needs to be uploaded there.
To upload the new rootfs to s3:
export AMAZON_ACCESS_KEY_ID=your-aws-id
export AMAZON_SECRET_ACCESS_KEY=your-aws-key
./upload_stack lucid64
To update rootfs package in cf-release overwrite rootfs blob cf-release/blobs/rootfs/lucid64.tar.gz with the new tarball.
Run bosh upload blobs
to upload package to bosh blobstore.
After cf-release is updated with the new rootfs, future DEAs will automatically use that rootfs for its warden containers.