This commit is contained in:
mwiegand 2021-11-10 02:48:20 +01:00
parent 776e876876
commit 8a65459d69
2 changed files with 2 additions and 4 deletions

View file

@ -1,4 +1,4 @@
size = node.metadata.get('systemd-swap/size')
size = node.metadata.get('systemd-swap')
assert isinstance(size, int)
actions = {

View file

@ -1,7 +1,5 @@
defaults = {
'systemd-swap': {
'size': 2*10**9,
},
'systemd-swap': 2*10**9,
'systemd': {
'units': {
'swapfile.swap': {