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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
slapos.package
Commits
c7cdee8f
Commit
c7cdee8f
authored
Jun 11, 2014
by
Rafael Monnerat
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos.package: Minor changes
Update Default Location, and minor style changes.
parent
ffe13bec
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
slapos/package/conf.py
slapos/package/conf.py
+2
-3
slapos/package/signature.py
slapos/package/signature.py
+0
-1
slapos/package/update.py
slapos/package/update.py
+1
-1
slapos/package/upload_key.py
slapos/package/upload_key.py
+1
-1
No files found.
slapos/package/conf.py
View file @
c7cdee8f
...
...
@@ -47,7 +47,7 @@ class Parser(OptionParser):
OptionParser
.
__init__
(
self
,
usage
=
usage
,
version
=
version
,
option_list
=
[
Option
(
"--slapos-configuration"
,
default
=
'/etc/opt/
slapos/
update.cfg'
,
default
=
'/etc/opt/update.cfg'
,
help
=
"Path to slapos configuration file"
),
Option
(
"--key"
,
default
=
"slapos-generic-key"
,
...
...
@@ -94,6 +94,7 @@ def do_conf():
"""Generate Default Configuration file """
usage
=
"usage: %s [options] "
%
sys
.
argv
[
0
]
run_config
(
Config
(
Parser
(
usage
=
usage
).
check_args
()))
sys
.
exit
()
def
run_config
(
config
):
if
os
.
path
.
exists
(
config
.
slapos_configuration
):
...
...
@@ -112,5 +113,3 @@ def run_config(config):
"slapos_location"
:
config
.
slapos_location
})
sys
.
exit
()
slapos/package/signature.py
View file @
c7cdee8f
#!/usr/bin/python
# -*- coding: utf-8 -*-
##############################################################################
#
...
...
slapos/package/update.py
View file @
c7cdee8f
...
...
@@ -46,7 +46,7 @@ class Parser(OptionParser):
OptionParser
.
__init__
(
self
,
usage
=
usage
,
version
=
version
,
option_list
=
[
Option
(
"--slapos-configuration"
,
default
=
'/etc/opt/
slapos/slapos
.cfg'
,
default
=
'/etc/opt/
update
.cfg'
,
help
=
"Path to slapos configuration file"
),
Option
(
"--srv-file"
,
default
=
'/srv/slapupdate'
,
...
...
slapos/package/upload_key.py
View file @
c7cdee8f
...
...
@@ -52,7 +52,7 @@ class Parser(OptionParser):
OptionParser
.
__init__
(
self
,
usage
=
usage
,
version
=
version
,
option_list
=
[
Option
(
"--slapos-configuration"
,
default
=
'/etc/opt/
slapos/slapos
.cfg'
,
default
=
'/etc/opt/
update
.cfg'
,
help
=
"Configuration File used to upload the key."
),
Option
(
"--upgrade-file"
,
default
=
'/etc/opt/slapos/slapos-upgrade'
,
...
...
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