Skip to content

Instantly share code, notes, and snippets.

@major
Created September 10, 2015 17:09
Show Gist options
  • Select an option

  • Save major/34d349b2f2c50deeb4f9 to your computer and use it in GitHub Desktop.

Select an option

Save major/34d349b2f2c50deeb4f9 to your computer and use it in GitHub Desktop.
Auto-build OSAD on the Rackspace cloud
#cloud-config
#
# supernova prodiad boot --flavor general1-8 --image 09de0a66-3156-48b4-90a5-1cf25a905207 --key-name=personal_servers --config-drive=true --user-data user_data.yml --poll
#
apt_mirror: http://iad.mirror.rackspace.com/ubuntu/
package_upgrade: true
packages:
- git-core
runcmd:
- export ANSIBLE_FORCE_COLOR=true
- export PYTHONUNBUFFERED=1
- git clone https://github.com/stackforge/os-ansible-deployment.git /opt/os-ansible-deployment
- cd /opt/os-ansible-deployment && scripts/gate-check-commit.sh
output: { all: '| tee -a /var/log/cloud-init-output.log' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment