[skip ci] correct newline for configureNoSwappiness
This commit is contained in:
parent
d7a9568b94
commit
f7ebcbcc1d
1 changed files with 1 additions and 1 deletions
|
@ -6,5 +6,5 @@ import java.io.File
|
|||
|
||||
fun Prov.configureNoSwappiness() = task {
|
||||
// set swappiness to 0
|
||||
addTextToFile("vm.swappiness=0", File("/etc/sysctl.conf"), sudo = true)
|
||||
addTextToFile("\nvm.swappiness=0\n", File("/etc/sysctl.conf"), sudo = true)
|
||||
}
|
Loading…
Reference in a new issue