aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvm-manager2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-manager b/kvm-manager
index 1c4cf21..7838c04 100755
--- a/kvm-manager
+++ b/kvm-manager
@@ -46,7 +46,7 @@ up() {
BOOTCHOICE=d
fi
- for disk in HDA{A..Z}; do
+ for disk in HD{A..Z}; do
if printf "%s" "${!disk}" | grep '^/dev/mapper/'; then
mappername=$(printf "%s" "${!disk}" | sed 's!^/dev/mapper/!!')
udevadm trigger --subsystem-match=block --attr-match=dm/name="$mappername"