]> git.mxchange.org Git - friendica.git/commitdiff
Adapt Vagrantfile
authorPhilipp <admin@philipp.info>
Thu, 7 Oct 2021 18:36:39 +0000 (20:36 +0200)
committerPhilipp <admin@philipp.info>
Thu, 7 Oct 2021 18:36:39 +0000 (20:36 +0200)
- add example for nfs connection
- add libvirt config section for memory setup

Vagrantfile

index a7740d3279f4ab4b10998e2d2eba6439d0557ad0..4684d9f09da7bd6cbeeafed2badac06725ab5d8b 100644 (file)
@@ -24,6 +24,7 @@ Vagrant.configure(2) do |config|
 
   # Share a folder between host and guest
   # config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", owner: "www-data", group: "vagrant"
+  # config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", type: "nfs"
   config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", owner: "www-data", group: "www-data", type: "virtualbox"
 
   # Provider-specific configuration so you can fine-tune various
@@ -40,6 +41,10 @@ Vagrant.configure(2) do |config|
     end
   end
 
+  config.vm.provider :libvirt do |libvirt|
+       libvirt.memory = server_memory
+  end
+
   # Enable provisioning with a shell script.
   config.vm.provision "shell", path: "./bin/dev/vagrant_provision.sh", privileged: true
     # run: "always"