From: Tobias Diekershoff <tobias.diekershoff@gmx.net>
Date: Sat, 15 Oct 2022 15:31:57 +0000 (+0200)
Subject: change IP of Vagrant VM
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=49ed627aedb39f0d627d919daf5470c884bdba81;p=friendica.git

change IP of Vagrant VM
---

diff --git a/Vagrantfile b/Vagrantfile
index 4684d9f09d..1687351231 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,5 +1,5 @@
 
-server_ip = "192.168.22.10"
+server_ip = "192.168.56.10"
 server_memory = "2048" # MB
 server_timezone = "UTC"
 
diff --git a/bin/dev/vagrant_provision.sh b/bin/dev/vagrant_provision.sh
index d82ed28231..40d08cedb2 100755
--- a/bin/dev/vagrant_provision.sh
+++ b/bin/dev/vagrant_provision.sh
@@ -45,7 +45,7 @@ apt-get install -qq apache2
 a2enmod rewrite actions ssl
 cp /vagrant/bin/dev/vagrant_vhost.sh /usr/local/bin/vhost
 chmod guo+x /usr/local/bin/vhost
-vhost -s 192.168.22.10.xip.io -d /var/www -p /etc/ssl/xip.io -c xip.io -a friendica.local
+vhost -s 192.168.56.10.xip.io -d /var/www -p /etc/ssl/xip.io -c xip.io -a friendica.local
 a2dissite 000-default
 service apache2 restart
 
diff --git a/mods/local.config.vagrant.php b/mods/local.config.vagrant.php
index 98e9a42e78..da873116d8 100644
--- a/mods/local.config.vagrant.php
+++ b/mods/local.config.vagrant.php
@@ -29,7 +29,7 @@ return [
 	// ****************************************************************
 
 	'config' => [
-		'hostname' => 'friendica.local',
+		'hostname' => '192.168.56.10',
 		'admin_email' => 'admin@friendica.local',
 		'sitename' => 'Friendica Social Network',
 		'register_policy' => \Friendica\Module\Register::OPEN,