summaryrefslogtreecommitdiffstats
path: root/README_vagrant.md
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-04-28 14:07:31 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-04-28 14:14:02 -0400
commit75cc97d6bf45cd14a8d0017beb88dbbadb6dcd0e (patch)
tree46fdebd13352727168837770be27fb340934cc69 /README_vagrant.md
parenta83bea9a190fde22cceb6e3ef3d88a38e3eca1a4 (diff)
downloadopenshift-75cc97d6bf45cd14a8d0017beb88dbbadb6dcd0e.tar.gz
openshift-75cc97d6bf45cd14a8d0017beb88dbbadb6dcd0e.tar.bz2
openshift-75cc97d6bf45cd14a8d0017beb88dbbadb6dcd0e.tar.xz
openshift-75cc97d6bf45cd14a8d0017beb88dbbadb6dcd0e.zip
Add vagrantfile and minor bugfixes
- Add Vagrantfile for configuring a basic cluster - Add an initial readme for using vagrant - explicitly set connection: local and sudo: false for localhost actions in playbooks/common/openshift-node/config.yml - Fix permissions issue with openshift config file for non-root user
Diffstat (limited to 'README_vagrant.md')
-rw-r--r--README_vagrant.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/README_vagrant.md b/README_vagrant.md
new file mode 100644
index 000000000..e3b3b5551
--- /dev/null
+++ b/README_vagrant.md
@@ -0,0 +1,25 @@
+Requirements
+------------
+- vagrant (tested against version 1.7.2)
+- vagrant-hostmaster plugin (tested against version 1.5.0)
+- vagrant-libvirt (tested against version 0.0.26)
+ - Only required if using libvirt instead of virtualbox
+
+Usage
+-----
+```
+vagrant up --no-provision
+vagrant provision
+```
+
+Using libvirt:
+```
+vagrant up --provider=libvirt --no-provision
+vagrant provision
+```
+
+Environment Variables
+---------------------
+The following environment variables can be overriden:
+- OPENSHIFT_DEPLOYMENT_TYPE (defaults to origin, choices: origin, enterprise, online)
+- OPENSHIFT_NUM_NODES (the number of nodes to create, defaults to 2)