Migrate the users role
This commit is contained in:
12
roles/users/templates/slice.j2
Normal file
12
roles/users/templates/slice.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
[Slice]
|
||||
{% if memory_max is defined and memory_max != "" %}
|
||||
MemoryAccounting=1
|
||||
MemoryMax={{ memory_max }}
|
||||
MemorySwapMax={{ swap_max }}
|
||||
{% else %}
|
||||
{% endif %}
|
||||
{% if cpu_quota is defined and cpu_quota != "" %}
|
||||
CPUAccounting=1
|
||||
CPUQuota={{ cpu_quota }}
|
||||
{% else %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user