Commit c81eb3ea authored by Alain Takoudjou's avatar Alain Takoudjou

Merge branch 'tap-nobridge'

parents fc6c6ee8 658d48dd
...@@ -333,6 +333,7 @@ class Partition(object): ...@@ -333,6 +333,7 @@ class Partition(object):
""" """
retention_lock_delay_filename = '.slapos-retention-lock-delay' retention_lock_delay_filename = '.slapos-retention-lock-delay'
retention_lock_date_filename = '.slapos-retention-lock-date' retention_lock_date_filename = '.slapos-retention-lock-date'
partition_firewall_rules_name = '.slapos-firewalld-rules'
# XXX: we should give the url (or the "key") instead of the software_path # XXX: we should give the url (or the "key") instead of the software_path
# then compute the path from it, like in Software. # then compute the path from it, like in Software.
...@@ -394,6 +395,9 @@ class Partition(object): ...@@ -394,6 +395,9 @@ class Partition(object):
self.retention_lock_date_file_path = os.path.join( self.retention_lock_date_file_path = os.path.join(
self.instance_path, self.retention_lock_date_filename self.instance_path, self.retention_lock_date_filename
) )
self.firewall_rules_path = os.path.join(
self.instance_path, self.partition_firewall_rules_name
)
self.instance_min_free_space = instance_min_free_space self.instance_min_free_space = instance_min_free_space
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment