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
Guillaume Hervier
slapos.core
Commits
78fc0861
Commit
78fc0861
authored
Apr 29, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo
parent
bf1ec145
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
slapos/cli/config.py
slapos/cli/config.py
+1
-1
slapos/cli/slapgrid.py
slapos/cli/slapgrid.py
+2
-0
No files found.
slapos/cli/config.py
View file @
78fc0861
...
@@ -17,7 +17,7 @@ class ConfigCommand(Command):
...
@@ -17,7 +17,7 @@ class ConfigCommand(Command):
default_config_var
=
'SLAPOS_CONFIGURATION'
default_config_var
=
'SLAPOS_CONFIGURATION'
# use this i
s
default_config_var does not exist
# use this i
f
default_config_var does not exist
default_config_path
=
'/etc/opt/slapos/slapos.cfg'
default_config_path
=
'/etc/opt/slapos/slapos.cfg'
def
get_parser
(
self
,
prog_name
):
def
get_parser
(
self
,
prog_name
):
...
...
slapos/cli/slapgrid.py
View file @
78fc0861
...
@@ -22,6 +22,8 @@ class SlapgridCommand(ConfigCommand):
...
@@ -22,6 +22,8 @@ class SlapgridCommand(ConfigCommand):
def
get_parser
(
self
,
prog_name
):
def
get_parser
(
self
,
prog_name
):
ap
=
super
(
SlapgridCommand
,
self
).
get_parser
(
prog_name
)
ap
=
super
(
SlapgridCommand
,
self
).
get_parser
(
prog_name
)
# XXX TODO separate parsers for instance, software and report
ap
.
add_argument
(
'--instance-root'
,
ap
.
add_argument
(
'--instance-root'
,
help
=
'The instance root directory location.'
)
help
=
'The instance root directory location.'
)
ap
.
add_argument
(
'--software-root'
,
ap
.
add_argument
(
'--software-root'
,
...
...
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