diff options
-rw-r--r-- | config.bu | 1 | ||||
-rw-r--r-- | config.ign | 4 | ||||
-rw-r--r-- | parts/zram.bu | 10 | ||||
-rw-r--r-- | rpi4.bu | 3 | ||||
-rw-r--r-- | rpi4.ign | 6 |
5 files changed, 22 insertions, 2 deletions
@@ -5,3 +5,4 @@ ignition: merge: - local: parts/users.bu - local: parts/timezone.bu + - local: parts/zram.bu @@ -9,6 +9,10 @@ { "compression": "", "source": "data:;base64,dmFyaWFudDogZmNvcwp2ZXJzaW9uOiAxLjUuMApzdG9yYWdlOgogIGxpbmtzOgogICAgLSBwYXRoOiAvZXRjL2xvY2FsdGltZQogICAgICB0YXJnZXQ6IC4uL3Vzci9zaGFyZS96b25laW5mby9Bc2lhL1Rva3lvCg==" + }, + { + "compression": "gzip", + "source": "data:;base64,H4sIAAAAAAAC/0yOwU70MAyE732Kkf7zNv2lhUOegxviEJJJa6l1UOwtAvHwqGWF8Gk08vfZe+qS1CNqbjbs7CZNI/6PD+M0mLeeZsYBqLLSjgBc8JZ8iQj0HOzDnFsJnz1tl5nKnrz1MTetYwk3408+QWBrhRHT4/V6L3JTp/rdfIzoKsqIr98G+IenRexYrjKfr4CaXlcaEkLhfp6fULhLJt7FF/hCFNZ0Wx1Gd9HZ/iifT+Jl+A4AAP//8YV92QABAAA=" } ] }, diff --git a/parts/zram.bu b/parts/zram.bu new file mode 100644 index 0000000..99f80e0 --- /dev/null +++ b/parts/zram.bu @@ -0,0 +1,10 @@ +variant: fcos +version: 1.5.0 +storage: + files: + - path: /etc/systemd/zram-generator.conf.d/user.conf + mode: 0644 + contents: + inline: | + # This config file enables a /dev/zram0 device with the default settings + [zram0] @@ -5,5 +5,6 @@ ignition: merge: - local: parts/users.bu - local: parts/timezone.bu - - local: parts/rpi4-hostname.bu + - local: parts/zram.bu - local: parts/rpi-cpugovernor.bu + - local: parts/rpi4-hostname.bu @@ -12,11 +12,15 @@ }, { "compression": "gzip", - "source": "data:;base64,H4sIAAAAAAAC/yyNTarDMAyE9z7FXODlB/y60G2EqzSCRAqWyPmLS2Y1zPDx3dyVLQlb8yi39FA3wjr9T0uJ9M4foQJsekiMAvzh4twJs2Sbd480PuX3AKe/hbC8an2G5pZi+aAjaoeaEC6tw7mWbwAAAP//HoeGtoMAAAA=" + "source": "data:;base64,H4sIAAAAAAAC/0yOwU70MAyE732Kkf7zNv2lhUOegxviEJJJa6l1UOwtAvHwqGWF8Gk08vfZe+qS1CNqbjbs7CZNI/6PD+M0mLeeZsYBqLLSjgBc8JZ8iQj0HOzDnFsJnz1tl5nKnrz1MTetYwk3408+QWBrhRHT4/V6L3JTp/rdfIzoKsqIr98G+IenRexYrjKfr4CaXlcaEkLhfp6fULhLJt7FF/hCFNZ0Wx1Gd9HZ/iifT+Jl+A4AAP//8YV92QABAAA=" }, { "compression": "gzip", "source": "data:;base64,H4sIAAAAAAAC/3SQPWvDMBCGd/+KI0ugYKsduhg89CNDt9I0dCglKPLFEdh37t3ZjSE/vjgfTpcOAt0rPTo913uJniyHbWBNehSNTDncZffZbaKDGjZlngB0FE3HDUAK5BvMIbRdWnGPQiyZovQx4PECAJLf1JiDSXeJApMhmeZwOCcAnyuK9jWVz6hBYmuRqVgcX4Cn1xW0/IMC6vtIVXJll6eOV/x9aLFgQt2xTeEbNj7Sw9ZQFvtoxYA6nS32GJbmxQrXqTjdRHINl63wBke7reD3OjCNbt5ij/+RI6g7SAPMpxrDjmHGVGLjqZzBAQwRnA7qShw/ru40Xhfablw37tzSafB1pGp9Ge78j/ULqfm6vlp/eDIsH4ei6WqLaacomXmp0JLfAAAA//8D64rP3AEAAA==" + }, + { + "compression": "gzip", + "source": "data:;base64,H4sIAAAAAAAC/yyNTarDMAyE9z7FXODlB/y60G2EqzSCRAqWyPmLS2Y1zPDx3dyVLQlb8yi39FA3wjr9T0uJ9M4foQJsekiMAvzh4twJs2Sbd480PuX3AKe/hbC8an2G5pZi+aAjaoeaEC6tw7mWbwAAAP//HoeGtoMAAAA=" } ] }, |