mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:00:16 +00:00
Adapt Vagrantfile
- add example for nfs connection - add libvirt config section for memory setup
This commit is contained in:
parent
430e6c3285
commit
e165edde44
1 changed files with 5 additions and 0 deletions
5
Vagrantfile
vendored
5
Vagrantfile
vendored
|
@ -24,6 +24,7 @@ Vagrant.configure(2) do |config|
|
||||||
|
|
||||||
# Share a folder between host and guest
|
# 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", 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"
|
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
|
# Provider-specific configuration so you can fine-tune various
|
||||||
|
@ -40,6 +41,10 @@ Vagrant.configure(2) do |config|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
config.vm.provider :libvirt do |libvirt|
|
||||||
|
libvirt.memory = server_memory
|
||||||
|
end
|
||||||
|
|
||||||
# Enable provisioning with a shell script.
|
# Enable provisioning with a shell script.
|
||||||
config.vm.provision "shell", path: "./bin/dev/vagrant_provision.sh", privileged: true
|
config.vm.provision "shell", path: "./bin/dev/vagrant_provision.sh", privileged: true
|
||||||
# run: "always"
|
# run: "always"
|
||||||
|
|
Loading…
Reference in a new issue