mirror of
https://github.com/bashclub/proxmox-zfs-postinstall.git
synced 2024-11-07 18:31:58 +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
|
done
|
||||||
|
|
||||||
|
|
||||||
if [ $swapfile_userinput_bool -eq "y" ]; then
|
if [ $swapfile_userinput_bool == "y" ]; then
|
||||||
echo "Creating swapfile"
|
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
|
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"
|
echo "Formatting swapfile"
|
||||||
|
Loading…
Reference in New Issue
Block a user