Skip to content
Snippets Groups Projects
Commit 5e4c3eef authored by Chris King's avatar Chris King
Browse files

Add basic READMEs

parent ab8a7d3c
No related branches found
No related tags found
No related merge requests found
# Create Openstack images for use with Cheaha
# Prerequities
1. [packer](https://www.packer.io/downloads)
2. python 3.5+
3. an openstack RC file
# Quickstart
Use your openstack rc file and use the following and you should be able to quickly create an instance:
```bash
python -mvenv env
. env/bin/activate
pip install ansible
cp openstack.pkrvars.hcl{.example,}
packer build -var-file=openstack.pkrvars.hcl openstack
```
# Running
1. Use your openstack rc file
2. Install ansible (preferably in a virtualenv) and ensure `ansible-playbook` is in `PATH`
3. Copy `openstack.pkrvars.hcl.example` to `openstack.pkrvars.hcl` and edit in the documented variables
4. Run `packer build -var-file=openstack.pkrvars.hcl openstack`
This contains packer hcl files for creating images. For documentation on packer, see [here](https://www.packer.io/docs); for information about the openstack-specific builder, see [here](https://www.packer.io/plugins/builders/openstack)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment