From 04290d038eaf02d666c406d489c2442aa9b1e50b Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 23 Dec 2015 17:09:10 +0100 Subject: Vagrant: use couchdb, create .ssh dir --- vagrant/configure-leap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vagrant/configure-leap.sh b/vagrant/configure-leap.sh index 332bdddf..5915ec94 100755 --- a/vagrant/configure-leap.sh +++ b/vagrant/configure-leap.sh @@ -27,6 +27,7 @@ $SUDO echo -e '\n@log = "/var/log/leap/deploy.log"' >> Leapfile if [ ! -e /home/${USER}/.ssh/id_rsa ]; then $SUDO ssh-keygen -f /home/${USER}/.ssh/id_rsa -P '' + mkdir /root/.ssh cat /home/${USER}/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys fi @@ -37,7 +38,7 @@ chown ${USER}:${USER} ${PROVIDERDIR}/files/nodes/${NODE}/${NODE}_ssh.pub $LEAP $OPTS add-user --self $LEAP $OPTS cert ca $LEAP $OPTS cert csr -$LEAP $OPTS node add $NODE ip_address:"$(facter ipaddress)" services:"$services" tags:production +$LEAP $OPTS node add $NODE ip_address:"$(facter ipaddress)" services:"$services" couch.master:true couch.pwhash_alg:pbkdf2 tags:production echo '{ "webapp": { "admins": ["testadmin"] } }' > services/webapp.json $LEAP $OPTS compile -- cgit v1.2.3