fix typo
This commit is contained in:
parent
3ef2b90cad
commit
6f29b638e9
@ -23,8 +23,8 @@ function create_new_image {
|
|||||||
|
|
||||||
LOOPBACK_01=$(losetup -f -P --show "${IMAGE_NAME}")
|
LOOPBACK_01=$(losetup -f -P --show "${IMAGE_NAME}")
|
||||||
LOOPBACK_02=$(losetup -f -P --show "${NEW_IMAGE_NAME}")
|
LOOPBACK_02=$(losetup -f -P --show "${NEW_IMAGE_NAME}")
|
||||||
UEFI_SECTORS="$(fdisk -l "${LOOPBACK_02}" | grep "${LOOPBACK_02}p1" | awk '{print $4}')"
|
UEFI_SECTORS="$(fdisk -l "${LOOPBACK_01}" | grep "${LOOPBACK_01}p1" | awk '{print $4}')"
|
||||||
BOOT_SECTORS="$(fdisk -l "${LOOPBACK_02}" | grep "${LOOPBACK_02}p2" | awk '{print $4}')"
|
BOOT_SECTORS="$(fdisk -l "${LOOPBACK_01}" | grep "${LOOPBACK_01}p2" | awk '{print $4}')"
|
||||||
|
|
||||||
cat << EOF | fdisk "${LOOPBACK_02}"
|
cat << EOF | fdisk "${LOOPBACK_02}"
|
||||||
g
|
g
|
||||||
|
Loading…
Reference in New Issue
Block a user