mirror of
https://github.com/bashclub/proxmox-zfs-postinstall.git
synced 2024-12-24 17:30:11 +01:00
Update proxmox-zfs-postinstall.sh
This commit is contained in:
parent
31be2d6e2a
commit
5e09ee39e6
@ -238,7 +238,7 @@ for interval in "${!auto_snap_keep[@]}"; do
|
||||
done
|
||||
|
||||
|
||||
if [ $swapfile_userinput_bool -eq "y" ]; then
|
||||
if [ $swapfile_userinput_bool == "y" ]; then
|
||||
echo "Creating swapfile"
|
||||
zfs create -V ${swapfile_size}G -b $(getconf PAGESIZE) -o logbias=throughput -o sync=always -o primarycache=metadata -o com.sun:auto-snapshot=false rpool/$swapfile_name
|
||||
echo "Formatting swapfile"
|
||||
|
Loading…
Reference in New Issue
Block a user