mirror of
https://codeberg.org/spire/dispenser.git
synced 2026-06-03 18:14:06 +02:00
more swap
This commit is contained in:
parent
f3f1d69b9e
commit
eb787e84d0
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ async fn setup(ssh: &mut SshSession, config: &ServerConfig) -> Result<(), Error>
|
|||
return Err(Error::SetupError(result.output()));
|
||||
}
|
||||
|
||||
ssh.exec("dd if=/dev/zero of=/swapfile bs=1M count=512")
|
||||
ssh.exec("dd if=/dev/zero of=/swapfile bs=1M count=1024")
|
||||
.await?;
|
||||
ssh.exec("chmod 600 /swapfile").await?;
|
||||
ssh.exec("mkswap /swapfile").await?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue