Sithuk / ubuntu-server-zfsbootmenu

Ubuntu zfsbootmenu install script
123 stars 28 forks source link

Create pool without swap #8

Closed hydrohs closed 2 years ago

hydrohs commented 2 years ago

Is there any way to modify the script so that it doesn't create a swap partition?

Sithuk commented 2 years ago

You could insert an if statement before each swap relevant section of code that checks if the swap size is set to 0. The data pool of course doesn't contain a swap partition, only the rpool.