Skip to content

Commit

Permalink
Rename misleading variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
64kramsystem committed Jan 16, 2021
1 parent 629dd9b commit 8c8dfd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-zfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ function install_host_packages_UbuntuServer {
function setup_partitions {
print_step_info_header

local temporary_partition_start=-$((c_temporary_volume_size + v_free_tail_space))G
local root_partition_start=-$((c_temporary_volume_size + v_free_tail_space))G

if [[ $v_free_tail_space -eq 0 ]]; then
local tail_space_start=0
Expand All @@ -777,7 +777,7 @@ function setup_partitions {

sgdisk -n1:1M:+"${c_efi_system_partition_size}M" -t1:EF00 "$selected_disk" # EFI boot
sgdisk -n2:0:+"$v_boot_partition_size" -t2:BF01 "$selected_disk" # Boot pool
sgdisk -n3:0:"$temporary_partition_start" -t3:BF01 "$selected_disk" # Root pool
sgdisk -n3:0:"$root_partition_start" -t3:BF01 "$selected_disk" # Root pool
sgdisk -n4:0:"$tail_space_start" -t4:8300 "$selected_disk" # Temporary partition
done

Expand Down

0 comments on commit 8c8dfd3

Please sign in to comment.