mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update create VM
This commit is contained in:
parent
06d492c358
commit
f1fcca3473
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user