Skip to content

Instantly share code, notes, and snippets.

@heckj heckj/.cloudenvy
Created Oct 28, 2012

Embed
What would you like to do?
cloudenvy files for DevStack
cloudenvy:
keypair_name: heckj
keypair_location: /home/heckj/.ssh/id_dsa.pub
clouds:
env4:
os_auth_url: http://myopenstack.instance.com:5000/v2.0/
os_username: heckj
os_password: **********
os_tenant_name: heckj-project
#!/bin/bash
# Skip ssh new host check.
cat<<EOF | sudo tee ~/.ssh/config
Host *
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
User ubuntu
EOF
sudo apt-get update
sudo apt-get dist-upgrade -y
sudo apt-get install -y git python-netaddr
git clone https://github.com/openstack-dev/devstack.git
cd devstack
cat<<LOCALRC | tee localrc
FIXED_RANGE=192.168.20.0/24
MYSQL_PASSWORD=mysqlsekret
RABBIT_PASSWORD=rabbitsekret
SERVICE_TOKEN=servicesekret
SERVICE_PASSWORD=topsekret
ADMIN_PASSWORD=admin
LOCALRC
./stack.sh
project_config:
name: devstack
image: Ubuntu 12.04 cloudimg amd64
remote_user: ubuntu
flavor_name: m1.large
provision_scripts:
- ./cloudenvy-setup.sh
# http://uec-images.ubuntu.com/releases/precise/release/ubuntu-12.04-server-cloudimg-amd64-disk1.img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.