mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-01 23:56:18 +00:00
Update create VM
This commit is contained in:
@@ -195,7 +195,7 @@ function select_linux_custom_iso() {
|
|||||||
|
|
||||||
if [[ ${#ISO_LIST[@]} -eq 0 ]]; then
|
if [[ ${#ISO_LIST[@]} -eq 0 ]]; then
|
||||||
header_info
|
header_info
|
||||||
msg_error "$(translate "No ISO images found in $ISO_DIR.")"
|
msg_error "$(translate "No ISO images found in") $ISO_DIR."
|
||||||
sleep 2
|
sleep 2
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
@@ -86,7 +86,8 @@ function select_existing_iso() {
|
|||||||
done < <(find "$ISO_DIR" -type f -iname "*.iso" ! -iname "virtio*" | sort)
|
done < <(find "$ISO_DIR" -type f -iname "*.iso" ! -iname "virtio*" | sort)
|
||||||
|
|
||||||
if [[ ${#ISO_LIST[@]} -eq 0 ]]; then
|
if [[ ${#ISO_LIST[@]} -eq 0 ]]; then
|
||||||
msg_error "$(translate "No ISO images found in $ISO_DIR.")"
|
header_info
|
||||||
|
msg_error "$(translate "No ISO images found in") $ISO_DIR."
|
||||||
sleep 2
|
sleep 2
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user