Update vagrant devbox provisioning
- run provisioning script as root - don't load friendica_test_data.sql which is outdated - install friendica and create users via console commands - install cronjob in `/etc/cron.d/friendica` and run as `www-data` user - force to have "vagrant-vbguest" insstalled. We need updated vbguest addins to correctly mount local folder - add "config.hostname" and "system.ssl_policy" values in `local.config.vagrant.php`
This commit is contained in:
6
Vagrantfile
vendored
6
Vagrantfile
vendored
@@ -34,10 +34,14 @@ Vagrant.configure(2) do |config|
|
||||
#
|
||||
# # Customize the amount of memory on the VM:
|
||||
vb.memory = server_memory
|
||||
|
||||
unless Vagrant.has_plugin?("vagrant-vbguest")
|
||||
raise 'vagrant-vbguest plugin is not installed! Install with "vagrant plugin install vagrant-vbguest"'
|
||||
end
|
||||
end
|
||||
|
||||
# Enable provisioning with a shell script.
|
||||
config.vm.provision "shell", path: "./bin/dev/vagrant_provision.sh"
|
||||
config.vm.provision "shell", path: "./bin/dev/vagrant_provision.sh", privileged: true
|
||||
# run: "always"
|
||||
# run: "once"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user