summaryrefslogtreecommitdiff
path: root/vagrant/configure-leap.sh
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-02-26 09:48:32 -0800
committerelijah <elijah@riseup.net>2016-02-26 09:48:32 -0800
commitb3d104421aa512cd0fed72eb6e5e7387a620e6ac (patch)
treed3a425a80d8f832778aedddea61f31b4b72dca18 /vagrant/configure-leap.sh
parentbfca1b32e33ccd0f5130bae546148529a3642cc3 (diff)
parentc161ce8236386bfcb5c86b62e3a1fc6bd9c0cd1b (diff)
Merge branch 'develop' of ssh://leap.se/leap_platform into develop
Diffstat (limited to 'vagrant/configure-leap.sh')
-rwxr-xr-xvagrant/configure-leap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vagrant/configure-leap.sh b/vagrant/configure-leap.sh
index 8751c763..08752128 100755
--- a/vagrant/configure-leap.sh
+++ b/vagrant/configure-leap.sh
@@ -28,7 +28,7 @@ echo -e '\n@log = "./deploy.log"' >> Leapfile
if [ ! -e /home/${USER}/.ssh/id_rsa ]; then
$SUDO ssh-keygen -f /home/${USER}/.ssh/id_rsa -P ''
- mkdir /root/.ssh
+ [ -d /root/.ssh ] || mkdir /root/.ssh
cat /home/${USER}/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
fi