From 5e4c3eef6f436842788f0c5c305f8ed0568ed66a Mon Sep 17 00:00:00 2001
From: Chris King <kingtc@uab.edu>
Date: Mon, 18 Apr 2022 15:17:03 +0000
Subject: [PATCH] Add basic READMEs

---
 README.md           | 26 ++++++++++++++++++++++++++
 openstack/README.md |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 README.md
 create mode 100644 openstack/README.md

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a1e9b34
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+# 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`
diff --git a/openstack/README.md b/openstack/README.md
new file mode 100644
index 0000000..d9287a3
--- /dev/null
+++ b/openstack/README.md
@@ -0,0 +1 @@
+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)
-- 
GitLab