summaryrefslogtreecommitdiffstats
path: root/vagrant
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@oath.com>2018-09-17 16:45:46 +0200
committerGitHub <noreply@github.com>2018-09-17 16:45:46 +0200
commitb4b715bee62787201f5ef1710dd974c7bcd6a0e5 (patch)
treedc719a54d28e76f1e59a68786f45618f309b7e82 /vagrant
parent00241141adfa8a9ef6a75fc9d82887dbf00468fd (diff)
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 d5212692638..451e6f6fc64 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
@@ -97,6 +97,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.