aboutsummaryrefslogtreecommitdiffstats
path: root/local_testing/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'local_testing/README.md')
-rw-r--r--local_testing/README.md46
1 files changed, 46 insertions, 0 deletions
diff --git a/local_testing/README.md b/local_testing/README.md
new file mode 100644
index 0000000..c600f79
--- /dev/null
+++ b/local_testing/README.md
@@ -0,0 +1,46 @@
+# Testing Locally
+
+### Requirements
+
+- [Vagrant](https://developer.hashicorp.com/vagrant/docs/installation)
+- [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
+
+## Get Started
+
+```shell
+vagrant up # This will take a while
+vagrant ssh # Get a shell, password=vagrant
+
+# inside control VM
+/vagrant/scripts/push-keys # Push the control VM's ssh key to all nodes
+
+# run ansible
+ansible-playbook playbook.yml --inventory local_testing/hosts.yaml --user vagrant
+
+```
+
+Below are the IPs of the VMs on the VirtualBox network
+```yaml
+vms:
+- control: 192.168.56.1
+- hopper: 192.168.56.2
+- lovelace: 192.168.56.3
+- neumann: 192.168.56.4
+- richie: 192.168.56.5
+- turing: 192.168.56.6
+```
+
+
+# Fixes/Notes
+
+### There was an error when attempting to rsync a synced folder.
+
+```shell
+vagrant plugin install vagrant-vbguest
+```
+
+
+### Kernel module is not loaded
+```shell
+sudo modprobe vbox{drv,netadp,netflt}
+```