Disable creation of swap file
By default, curtin creates a swap file of up to 8GB. When swap is later disabled, there is still a /swap.img file left hanging around that needs to be cleaned up. This change sets the size to 0 to disable the creation of the swap file in the first place. https://curtin.readthedocs.io/en/latest/topics/config.html#swap Change-Id: I9e1e5f67007ae3c49617525e989b27e123b69d53
This commit is contained in:
parent
8f35260091
commit
3624da26f5
@ -72,6 +72,8 @@ def find_ba_key(n):
|
||||
driver_07_update_initramfs: ["curtin", "in-target", "--", "update-initramfs", "-u"]
|
||||
{{ "{{" }}endif{{ "}}" }}
|
||||
showtrace: true
|
||||
swap:
|
||||
size: 0
|
||||
verbosity: 2
|
||||
{{- if not (empty .Values.conf.maas.system_user) }}
|
||||
{{- if not (empty .Values.conf.maas.system_passwd) }}
|
||||
|
Loading…
Reference in New Issue
Block a user