Add generic account rc creater
* Creates account rc files for all tenant user
* Able to create new accounts
* The rc files contains certificates for image bundle
* euca related steps can be simpler in the future
Change-Id: I917bffb64e09a5d85c84cde45777c49eaca65e64
diff --git a/stack.sh b/stack.sh
index cf638e8..26376b6 100755
--- a/stack.sh
+++ b/stack.sh
@@ -1672,6 +1672,17 @@
start_heat
fi
+# Create account rc files
+# =======================
+
+# Creates source able script files for easier user switching.
+# This step also creates certificates for tenants and users,
+# which is helpful in image bundle steps.
+
+if is_service_enabled nova && is_service_enabled key; then
+ $TOP_DIR/tools/create_userrc.sh -PA --target-dir $TOP_DIR/accrc
+fi
+
# Install Images
# ==============