Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alain Takoudjou
slapos.package
Commits
7ef9b44c
Commit
7ef9b44c
authored
Jun 18, 2013
by
Vivien Alger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switching to anonymous registration for re6st
parent
b04a68a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
templates/re6stnet.sh
templates/re6stnet.sh
+3
-4
templates/rpm/slapos.spec.base.in
templates/rpm/slapos.spec.base.in
+2
-2
No files found.
templates/re6stnet.sh
View file @
7ef9b44c
...
@@ -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
templates/rpm/slapos.spec.base.in
View file @
7ef9b44c
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment