From e580321ca55c77435c95035354aec833b7abc665 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 15 Feb 2013 11:16:51 +0100 Subject: mostly working now --- leap-bootstrap-provider.sh | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'leap-bootstrap-provider.sh') diff --git a/leap-bootstrap-provider.sh b/leap-bootstrap-provider.sh index c2fb3b9..912a705 100755 --- a/leap-bootstrap-provider.sh +++ b/leap-bootstrap-provider.sh @@ -4,8 +4,24 @@ cd $ROOTDIR/$PROVIDER -for i in $SERVICES -do - leap node add --local $i services:$i -done +if [ -e $ROOTDIR/$PROVIDER ] +then + echo $ROOTDIR/$PROVIDER exists - exiting + exit 1 +fi +mkdir $ROOTDIR/$PROVIDER +cd $ROOTDIR/$PROVIDER +leap new . +cd $ROOTDIR/leap_platform +git checkout develop +git submodule update --init +cd $ROOTDIR/$PROVIDER + + +leap add-user --self +leap cert ca && leap cert csr +leap cert dh + +$PLATFORM_TEST_BIN/leap-add-nodes.sh +$PLATFORM_TEST_BIN/leap-bootstrap-all.sh -- cgit v1.2.3