Commit 7ef9b44c authored by Vivien Alger's avatar Vivien Alger

Switching to anonymous registration for re6st

parent b04a68a2
...@@ -3,10 +3,8 @@ SLAPOS_CFG_PATH=/etc/opt/slapos/slapos.cfg ...@@ -3,10 +3,8 @@ SLAPOS_CFG_PATH=/etc/opt/slapos/slapos.cfg
re6st_conf_generation() re6st_conf_generation()
{ {
# Generate re6st configuration # Generate re6st configuration
read -p "Please enter the registry you wish to use for re6st[http://re6stnet.nexedi.com]: " REGISTRY REGISTRY="http://re6stnet.nexedi.com"
REGISTRY=${REGISTRY:-http://re6stnet.nexedi.com} re6st-conf -d /etc/re6stnet --registry $REGISTRY --anonymous
read -p "Please enter your email for token generation: " EMAIL
re6st-conf --registry $REGISTRY --email $EMAIL -r emailAddress $EMAIL -d /etc/re6stnet
echo "File /etc/re6stnet/re6stnet.conf generated" echo "File /etc/re6stnet/re6stnet.conf generated"
echo "You now need to reboot your server manually for the changes to take\ echo "You now need to reboot your server manually for the changes to take\
effect" effect"
...@@ -61,3 +59,4 @@ with the configuration of re6st and SlapOS Node by yourself." ...@@ -61,3 +59,4 @@ with the configuration of re6st and SlapOS Node by yourself."
re6st_conf_generation re6st_conf_generation
fi fi
fi fi
...@@ -43,11 +43,11 @@ Packager: Arnaud Fontaine <arnaud.fontaine@nexedi.com>, Cédric Le Ninivin <cedr ...@@ -43,11 +43,11 @@ Packager: Arnaud Fontaine <arnaud.fontaine@nexedi.com>, Cédric Le Ninivin <cedr
%if 0%{?suse_version} == 1210 %if 0%{?suse_version} == 1210
BuildRequires: gcc-c++, make, patch, wget, python, chrpath, python-distribute, -post-build-checks BuildRequires: gcc-c++, make, patch, wget, python, chrpath, python-distribute
Requires: bridge-utils, python, gcc-c++, make, patch, wget, python-distribute, re6stnet Requires: bridge-utils, python, gcc-c++, make, patch, wget, python-distribute, re6stnet
%else %else
BuildRequires: gcc-c++, make, patch, wget, python, chrpath, python-setuptools, -post-build-checks BuildRequires: gcc-c++, make, patch, wget, python, chrpath, python-setuptools
Requires: bridge-utils, python, gcc-c++, make, patch, wget, python-setuptools, re6stnet Requires: bridge-utils, python, gcc-c++, make, patch, wget, python-setuptools, re6stnet
%endif %endif
......
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