From 05af4009376cbeb479bf2cc1e513e95f163d4c36 Mon Sep 17 00:00:00 2001 From: Silke Meyer Date: Mon, 2 Feb 2015 22:57:10 +0100 Subject: [PATCH] Fixed missing sudo, improved local mail in vagrant. --- util/vagrant_provision.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/vagrant_provision.sh b/util/vagrant_provision.sh index 8a8ff3face..b964d22431 100644 --- a/util/vagrant_provision.sh +++ b/util/vagrant_provision.sh @@ -67,8 +67,8 @@ service mysql restart #add Friendica accounts for local user accounts, use email address like vagrant@friendica.dev, read the email with 'mail'. debconf-set-selections <<< "postfix postfix/mailname string friendica.dev" debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Local Only'" -apt-get install -y postfix -apt-get install mailutils libmailutils-dev +sudo apt-get install -y postfix mailutils libmailutils-dev +sudo echo -e "friendica1: vagrant\nfriendica2: vagrant\nfriendica3: vagrant\nfriendica4: vagrant\nfriendica5: vagrant" >> /etc/aliases && sudo newaliases #make the vagrant directory the docroot sudo rm -rf /var/www/ -- 2.39.5