Created
October 28, 2012 17:41
-
-
Save heckj/3969250 to your computer and use it in GitHub Desktop.
cloudenvy files for DevStack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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