Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Roque
slapos.core
Commits
6316da76
Commit
6316da76
authored
7 years ago
by
Tomáš Peterka
Browse files
Options
Download
Email Patches
Plain Diff
Improve some comments
parent
cd9b672c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
slapos/grid/SlapObject.py
slapos/grid/SlapObject.py
+4
-1
slapos/grid/slapgrid.py
slapos/grid/slapgrid.py
+6
-1
No files found.
slapos/grid/SlapObject.py
View file @
6316da76
...
...
@@ -321,7 +321,10 @@ class Software(object):
class
Partition
(
object
):
"""This class is responsible of the installation of an instance
"""This class is responsible of the software installation into an instance.
It has nothing in common with `slapos.format.Partition` which is executed as root and
prepares underlaying system to accomodate an software release afterwards.
"""
retention_lock_delay_filename
=
'.slapos-retention-lock-delay'
retention_lock_date_filename
=
'.slapos-retention-lock-date'
...
...
This diff is collapsed.
Click to expand it.
slapos/grid/slapgrid.py
View file @
6316da76
...
...
@@ -925,7 +925,12 @@ stderr_logfile_backups=1
def
processComputerPartition
(
self
,
computer_partition
):
"""
Process a Computer Partition, depending on its state
Apply configuration received from SlapOS Master to given partition.
This function takes care only of Software Releases installed inside
partitions. It is different from `slapos.format.Partition` processing.
:param computer_partition: slapos.slap.slap.Computer,
"""
computer_partition_id
=
computer_partition
.
getId
()
...
...
This diff is collapsed.
Click to expand it.
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