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
Ivan Tyagov
slapos.package
Commits
39511f6b
Commit
39511f6b
authored
Apr 16, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spaces after questions.
parent
a4661708
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
slapprepare/slapprepare/slapprepare.py
slapprepare/slapprepare/slapprepare.py
+3
-3
No files found.
slapprepare/slapprepare/slapprepare.py
View file @
39511f6b
...
@@ -456,13 +456,13 @@ class Config:
...
@@ -456,13 +456,13 @@ class Config:
if
not
get_yes_no
(
"A SlapOS Node configuration has been found. Do you want to overwrite it?"
,
False
):
if
not
get_yes_no
(
"A SlapOS Node configuration has been found. Do you want to overwrite it?"
,
False
):
print
"Okay, let's start from scratch."
print
"Okay, let's start from scratch."
return
False
return
False
self
.
master_url
=
raw_input
(
"""SlapOS Master URL? Empty answer will make it use slapos.org Master:"""
)
self
.
master_url
=
raw_input
(
"""SlapOS Master URL? Empty answer will make it use slapos.org Master:
"""
)
if
self
.
master_url
:
if
self
.
master_url
:
self
.
master_url_web
=
raw_input
(
"""SlapOS Master "web" URL?:"""
)
self
.
master_url_web
=
raw_input
(
"""SlapOS Master "web" URL?:
"""
)
else
:
else
:
self
.
master_url_web
=
''
self
.
master_url_web
=
''
self
.
computer_name
=
raw_input
(
"Define a unique name for this computer: "
)
self
.
computer_name
=
raw_input
(
"Define a unique name for this computer: "
)
self
.
partition_amount
=
raw_input
(
"""Number of SlapOS partitions for this computer? Default is 20
:
"""
)
self
.
partition_amount
=
raw_input
(
"""Number of SlapOS partitions for this computer? Default is 20
:
"""
)
if
self
.
partition_amount
==
''
:
if
self
.
partition_amount
==
''
:
self
.
partition_amount
=
'20'
self
.
partition_amount
=
'20'
elif
not
already_configured
:
elif
not
already_configured
:
...
...
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