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
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
Léo-Paul Géneau
slapos.core
Commits
84f66000
Commit
84f66000
authored
Jan 28, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add minimal output when registering
parent
d9ddc444
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
slapos/register/register.py
slapos/register/register.py
+3
-1
No files found.
slapos/register/register.py
View file @
84f66000
...
@@ -343,7 +343,7 @@ def register(config):
...
@@ -343,7 +343,7 @@ def register(config):
certificate_key
=
parse_certificates
(
certificate_key
)
certificate_key
=
parse_certificates
(
certificate_key
)
certificate
=
certificate_key
[
0
]
certificate
=
certificate_key
[
0
]
key
=
certificate_key
[
1
]
key
=
certificate_key
[
1
]
COMP
=
get_computer_name
(
certificate
)
COMP
=
get_computer_name
(
certificate
)
# Getting configuration parameters
# Getting configuration parameters
slapos_configuration
=
'/etc/opt/slapos/'
slapos_configuration
=
'/etc/opt/slapos/'
config
.
COMPConfig
(
slapos_configuration
=
slapos_configuration
,
config
.
COMPConfig
(
slapos_configuration
=
slapos_configuration
,
...
@@ -356,6 +356,8 @@ def register(config):
...
@@ -356,6 +356,8 @@ def register(config):
save_former_config
(
config
)
save_former_config
(
config
)
# Prepare Slapos Configuration
# Prepare Slapos Configuration
slapconfig
(
config
)
slapconfig
(
config
)
print
"Node has successfully been configured as %s."
%
COMP
return
0
return
0
def
main
():
def
main
():
...
...
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