summaryrefslogtreecommitdiff
path: root/vagrant/configure-leap.sh
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-03-07 12:23:05 +0100
committervarac <varacanero@zeromail.org>2016-03-07 12:26:31 +0100
commite6e0b2b9c5cad7f7a66b0aedaf3ab67438eedf2d (patch)
tree5620cea2751d764af51534e9143f197a136ff2f4 /vagrant/configure-leap.sh
parent0ec326f27feecda1357ca7ba8b1c09ef2567a481 (diff)
[vagrant] Vagrant now can deploy a pixelated box
By default, a leap_platform-only box will get started. To start the pixelated box, use `vagrant up pixelated`.
Diffstat (limited to 'vagrant/configure-leap.sh')
-rwxr-xr-xvagrant/configure-leap.sh12
1 files changed, 2 insertions, 10 deletions
diff --git a/vagrant/configure-leap.sh b/vagrant/configure-leap.sh
index bf07f3a6..9ddee039 100755
--- a/vagrant/configure-leap.sh
+++ b/vagrant/configure-leap.sh
@@ -3,15 +3,6 @@
. /vagrant/vagrant/vagrant.config
-#OPTS='--no-color'
-OPTS=''
-USER='vagrant'
-NODE='node1'
-SUDO="sudo -u ${USER}"
-PROVIDERDIR="/home/${USER}/leap/configuration"
-LEAP="$SUDO /usr/local/bin/leap"
-GIT="$SUDO git"
-
echo '==============================================='
echo 'configuring leap'
echo '==============================================='
@@ -93,8 +84,9 @@ echo -e '\n=====================================================================
echo -e 'You are now ready to use your local LEAP provider.\n'
echo 'If you want to use the *Bitmask client* with your provider, please update your /etc/hosts with following dns overrides:'
-$LEAP leap list --print ip_address,domain.full,dns.aliases | sed 's/^.* //' | sed 's/, null//g' | tr -d '\]\[",'
+$LEAP list --print ip_address,domain.full,dns.aliases | sed 's/^.* //' | sed 's/, null//g' | tr -d '\]\[",'
echo 'Please see https://leap.se/en/docs/platform/tutorials/vagrant#use-the-bitmask-client-to-do-an-initial-soledad-sync for more details how to use and test your LEAP provider.'
echo -e "\nIf you don't want to use the Bitmask client, please ignore the above instructions.\n"
echo -e 'The LEAP webapp is now available at https://localhost:4443\n'
+echo -e 'Please add an exception in your browser dialog to allow the self-signed certificate.\n'