From 34cb5650d2055187e362a3fb1cde402ba25268f4 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Fri, 2 Jul 2021 15:12:52 -0400
Subject: [PATCH] a note about how to get enough memory for self-updating
 deployment

---
 morph/grid/local/Vagrantfile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/morph/grid/local/Vagrantfile b/morph/grid/local/Vagrantfile
index a2890b8a..a871cbbe 100644
--- a/morph/grid/local/Vagrantfile
+++ b/morph/grid/local/Vagrantfile
@@ -13,6 +13,16 @@ Vagrant.configure("2") do |config|
     config.vm.box = "esselius/nixos"
     config.vm.box_version = "20.09"
     config.vm.box_check_update = false
+
+    # To use the self-updating deployment system you need more memory.  Giving
+    # all of the VMs enough memory for this is rather taxing, though, and the
+    # self-updating deployment system is not particularly useful for local
+    # dev.  But should you want to:
+    #
+    # config.vm.provider "virtualbox" do |v|
+    #   v.memory = 4096
+    # end
+
     config.vm.network "private_network", ip: "192.168.67.21"
     # Add self signed SSL key for zkap-issuer:
     config.vm.provision "file", source: "private-keys/payments-localdev-ssl", destination: "/tmp/payments-localdev-ssl"
-- 
GitLab