Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
05d2b29b
Commit
05d2b29b
authored
Jan 09, 2014
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[slapos-cli] Don't force auto invoke slapos-start
parent
39b6d46a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
slapos/cli/register.py
slapos/cli/register.py
+1
-10
No files found.
slapos/cli/register.py
View file @
05d2b29b
...
...
@@ -343,14 +343,5 @@ def do_register(conf):
slapconfig(conf)
conf.logger.info('
Node
has
successfully
been
configured
as
%
s
.
', COMP)
# XXX hardcoded value, relying on package installation
# We shall fix that later
conf.logger.info('
Running
starting
script
')
if os.path.isfile("/usr/sbin/slapos-start"):
try:
subprocess.check_call("/usr/sbin/slapos-start")
except subprocess.CalledProcessError:
conf.logger.error('
Error
while
trying
to
run
/
usr
/
sbin
/
slapos
-
start
')
else:
conf.logger.warning('
Missing
file
/
usr
/
sbin
/
slapos
-
start
')
conf.logger.info('
Now
please
invoke
/
usr
/
sbin
/
slapos
-
start
on
your
site
.
')
return 0
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