mirror of
https://github.com/tommytran732/Fedora-CoreOS-Ignition
synced 2024-11-24 18:11:32 -05:00
ZRAM Compression
Signed-off-by: Thien Tran <contact@tommytran.io>
This commit is contained in:
parent
e275349bb5
commit
1498126454
@ -81,7 +81,7 @@
|
|||||||
"path": "/etc/systemd/zram-generator.conf",
|
"path": "/etc/systemd/zram-generator.conf",
|
||||||
"contents": {
|
"contents": {
|
||||||
"compression": "",
|
"compression": "",
|
||||||
"source": "data:;base64,IyBUaGlzIGNvbmZpZyBmaWxlIGVuYWJsZXMgYSAvZGV2L3pyYW0wIGRldmljZSB3aXRoIHRoZSBkZWZhdWx0IHNldHRpbmdzClt6cmFtMF0KenJhbS1mcmFjdGlvbiA9IDEKbWF4LXpyYW0tc2l6ZSA9IDgxOTIK"
|
"source": "data:;base64,IyBUaGlzIGNvbmZpZyBmaWxlIGVuYWJsZXMgYSAvZGV2L3pyYW0wIGRldmljZSB3aXRoIHRoZSBkZWZhdWx0IHNldHRpbmdzClt6cmFtMF0KenJhbS1mcmFjdGlvbiA9IDEKbWF4LXpyYW0tc2l6ZSA9IDgxOTIKY29tcHJlc3Npb24tYWxnb3JpdGhtID0genN0ZAo="
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -136,6 +136,7 @@ storage:
|
|||||||
[zram0]
|
[zram0]
|
||||||
zram-fraction = 1
|
zram-fraction = 1
|
||||||
max-zram-size = 8192
|
max-zram-size = 8192
|
||||||
|
compression-algorithm = zstd
|
||||||
- path: /etc/security/limits.d/30-disable-coredump.conf
|
- path: /etc/security/limits.d/30-disable-coredump.conf
|
||||||
overwrite: true
|
overwrite: true
|
||||||
contents:
|
contents:
|
||||||
|
@ -81,7 +81,7 @@
|
|||||||
"path": "/etc/systemd/zram-generator.conf",
|
"path": "/etc/systemd/zram-generator.conf",
|
||||||
"contents": {
|
"contents": {
|
||||||
"compression": "",
|
"compression": "",
|
||||||
"source": "data:;base64,IyBUaGlzIGNvbmZpZyBmaWxlIGVuYWJsZXMgYSAvZGV2L3pyYW0wIGRldmljZSB3aXRoIHRoZSBkZWZhdWx0IHNldHRpbmdzClt6cmFtMF0KenJhbS1mcmFjdGlvbiA9IDEKbWF4LXpyYW0tc2l6ZSA9IDgxOTIK"
|
"source": "data:;base64,IyBUaGlzIGNvbmZpZyBmaWxlIGVuYWJsZXMgYSAvZGV2L3pyYW0wIGRldmljZSB3aXRoIHRoZSBkZWZhdWx0IHNldHRpbmdzClt6cmFtMF0KenJhbS1mcmFjdGlvbiA9IDEKbWF4LXpyYW0tc2l6ZSA9IDgxOTIKY29tcHJlc3Npb24tYWxnb3JpdGhtID0genN0ZAo="
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -154,6 +154,7 @@ storage:
|
|||||||
[zram0]
|
[zram0]
|
||||||
zram-fraction = 1
|
zram-fraction = 1
|
||||||
max-zram-size = 8192
|
max-zram-size = 8192
|
||||||
|
compression-algorithm = zstd
|
||||||
- path: /etc/security/limits.d/30-disable-coredump.conf
|
- path: /etc/security/limits.d/30-disable-coredump.conf
|
||||||
overwrite: true
|
overwrite: true
|
||||||
contents:
|
contents:
|
||||||
|
Loading…
Reference in New Issue
Block a user