Commit bbc5fa3f authored by Jean-Baptiste Petre's avatar Jean-Baptiste Petre

redondance url baredondance urlbeld

parent 39fb38bf
...@@ -4,10 +4,12 @@ echo "install babel" ...@@ -4,10 +4,12 @@ echo "install babel"
# extraction and deplacement rename in babeld # extraction and deplacement rename in babeld
FILE=/root/babeld-1.3.4.tar.gz FILE=/root/babeld-1.3.4.tar.gz
if [ -e $FILE ]; then if [ -e $FILE ];then
echo "babeld-1.3.4.tar.gz already exists" echo "babeld-1.3.4.tar.gz already exists"
elif wget http://heberge-hd.net/slapos/babeld-1.3.4.tar.gz; then
echo "downlaod done"
else else
wget http://heberge-hd.net/slapos/babeld-1.3.4.tar.gz wget http://pkgs.fedoraproject.org/repo/pkgs/babeld/babeld-1.3.4.tar.gz/37be1cbcc23cd00ee47efc9157c58795/babeld-1.3.4.tar.gz
fi fi
...@@ -57,7 +59,7 @@ if [ -e $FILE ]; then ...@@ -57,7 +59,7 @@ if [ -e $FILE ]; then
echo "the file already exists" echo "the file already exists"
else else
cd /etc/re6stnet cd /etc/re6stnet
/usr/src/re6stnet/re6st-conf --registry http://re6stnet.nexedi.com/ --anonymous -r title COMP-TESTE-JB- /usr/src/re6stnet/re6st-conf --registry http://re6stnet.nexedi.com/ --anonymous -r title "SlapOS Node"
echo 'recording made' echo 'recording made'
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment