fix variable
This commit is contained in:
1 parent
32965bcddb
commit
6c3478e03d
1 file changed
+3
-1
+3
-1
@@ -12,16 +12,18 @@ udevadm trigger
|
||||
|
||||
lsblk
|
||||
|
||||
echo
|
||||
read -rp "Enter the target disk (e.g., sda): " disk_suffix
|
||||
disk_name="/dev/${disk_suffix}"
|
||||
|
||||
echo
|
||||
read -rp "Enter the name of the usb partition in /dev/mapper (e.g., sda1): " disk_suffix
|
||||
usb_name="/dev/mapper/${disk_suffix}"
|
||||
|
||||
# Mount Ventoy
|
||||
echo "Mounting Ventoy..."
|
||||
mkdir /mnt/ventoy
|
||||
mount /dev/mapper/usb_name /mnt/ventoy
|
||||
mount /dev/mapper/$usb_name /mnt/ventoy
|
||||
cd /mnt/ventoy/Images
|
||||
|
||||
# Decompress and write image
|
||||
|
||||
Reference in new issue
Block a user