Imperial glideinwms image

From GridPP Wiki
Jump to: navigation, search

We currently use the cloudstamp tool to build images, this requires a modern x86_64 Linux system with qemu installed (KVM useful but not required).

These are the steps to build it from scratch:

 git clone https://github.com/sfayer/cloudstamp.git
 cd cloudstamp
 ./bootstrap.sh
 # Maybe add your ssh key in config/modules/ssh_keys/manifests/init.pp
 ./cloudstamp.sh centos64 glidein
 # Source cloud setup scripts here!
 glance image-create --name my_wonderful_image --disk-format qcow2 --container-format bare --file output/glidein-centos64.img
 euca-describe-images | grep my_wonderful_image # This should give you the AMI ID you need for frontend.xml.