echo
This commit is contained in:
@@ -52,9 +52,11 @@ echo "Writing image to $disk_name..."
|
||||
lz4 -dc PBX-LVM.img.lz4 | dd of=$disk_name status=progress
|
||||
|
||||
# Repartition disk using sgdisk
|
||||
echo "Expanding Partition 3 on $disk_name..."
|
||||
echo "Repairing partition tables"
|
||||
sgdisk -e $disk_name
|
||||
sgdisk -v $disk_name
|
||||
|
||||
echo "Expanding Partition 3 on $disk_name..."
|
||||
sgdisk --delete=3 $disk_name
|
||||
sgdisk --new=3:0:0 --typecode=3:8e00 --change-name=3:"Linux LVM" $disk_name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user