Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fgimenez/openstack-sandbox
Chef cookbook for creating an openstack basic sandbox using vagrant
https://github.com/fgimenez/openstack-sandbox
Last synced: about 1 month ago
JSON representation
Chef cookbook for creating an openstack basic sandbox using vagrant
- Host: GitHub
- URL: https://github.com/fgimenez/openstack-sandbox
- Owner: fgimenez
- Created: 2013-01-07T13:45:01.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-03-02T17:36:00.000Z (over 6 years ago)
- Last Synced: 2023-04-05T14:36:37.114Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 44.9 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/fgimenez/openstack-sandbox.png)](https://travis-ci.org/fgimenez/openstack-sandbox)
The purpose is setting up an openstack sandbox environment with a chef provisioned Vagrant box. This has been tested in a Debian Wheezy host machine with backports repository enabled.
Requirements
------------The minimun requirements are a working installation of both virtualbox and vagrant (1.2+). You should also have a ruby runtime
Usage
-----First of all, you should bootstrap the environment (you should use the openstack user password, 'openstack', and your root password to install nova client packages):
$ ./bootstrap.shNow you can get a prebuilt ubuntu UEC image to be used by the openstack environment:
$ wget http://uec-images.ubuntu.com/releases/quantal/release/ubuntu-12.10-server-cloudimg-i386.tar.gz
and then upload it to the server:
$ cloud-publish-tarball ubuntu-12.10-server-cloudimg-i386.tar.gz images i386
You can check that all went good listing the images:
$ nova image-list
The ID of the .img will be used later for refering the cloud image.
Finally, after creating the default security settings that define the access rights for sshing and pinging:
$ nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
$ nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0you can spin up the instaqnce with the previous listed ID:
$ nova boot myInstance --image $ID --flavor 2 --key_name openstack
Contributing
------------1. Fork the repository on Github
2. Create a named feature branch (like `add_component_x`)
3. Write you change
4. Write tests for your change
5. Run the tests, ensuring they all pass
6. Submit a Pull RequestLicense and Authors
-------------------
MIT LicenseAuthors: Federico Gimenez Nieto
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/fgimenez/openstack-sandbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")