swapfile
This commit is contained in:
parent
776e876876
commit
8a65459d69
2 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
size = node.metadata.get('systemd-swap/size')
|
||||
size = node.metadata.get('systemd-swap')
|
||||
assert isinstance(size, int)
|
||||
|
||||
actions = {
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
defaults = {
|
||||
'systemd-swap': {
|
||||
'size': 2*10**9,
|
||||
},
|
||||
'systemd-swap': 2*10**9,
|
||||
'systemd': {
|
||||
'units': {
|
||||
'swapfile.swap': {
|
||||
|
|
Loading…
Reference in a new issue