summaryrefslogtreecommitdiffstats
path: root/vagrant
diff options
context:
space:
mode:
authorGeir Storli <geirstorli@yahoo.no>2018-09-17 17:20:05 +0200
committerGitHub <noreply@github.com>2018-09-17 17:20:05 +0200
commitd3a235dedd51bd53a2a944c3ede0e6adcd8766e3 (patch)
treecb30a20ad9cf52f6b8f39ec76e70d826aaca8397 /vagrant
parent8ee3f6c1dfbe8cc6d0894db8e807bb9eccd5fa78 (diff)
parentb4b715bee62787201f5ef1710dd974c7bcd6a0e5 (diff)
Merge pull request #6983 from vespa-engine/bjorncs/vagrant
Add section on starting/stopping the VM
Diffstat (limited to 'vagrant')
-rw-r--r--vagrant/README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/vagrant/README.md b/vagrant/README.md
index 28883aa969c..8a4ebdc8d60 100644
--- a/vagrant/README.md
+++ b/vagrant/README.md
@@ -51,7 +51,7 @@ SSH agent forwarding is enabled to ensure easy interaction with GitHub inside th
vagrant ssh
-#### 5. Checkout vespa source inside virtual machine
+#### 6. Checkout vespa source inside virtual machine
This is needed in order to compile and run tests fast on the local file system inside the virtual machine.
git clone git@github.com:vespa-engine/vespa.git
@@ -99,6 +99,9 @@ Under *Build Options* specify "-j 4" and click *Apply*.
(Some of the changes made by it are undone by clion on the first startup.)
-#### 5. Build all modules
+#### 6. Build all modules
Choose target **all_modules** from the set of build targets at the top right and click build.
+## Starting and stopping the Vagrant machine
+Use `vagrant suspend` to suspend the machine and then `vagrant resume` to resume it later on.
+Alternatively use `vagrant halt` + `vagrant up` to shutdown and reboot. Latter approach is slower but requires less disk space since RAM content is not persisted to host.