Skip to content

Commit

Permalink
L #-: Add quotes (#2680)
Browse files Browse the repository at this point in the history
(cherry picked from commit e8167ea)
  • Loading branch information
xorel authored and rsmontero committed Jul 20, 2023
1 parent 5af3129 commit 08bb8f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vmm_mad/remotes/kvm/migrate
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ create_target_disk_img() {
local DEST_HOST=$1
local QEMU_IMG_PATH="$2"
local SIZE="$3"
local DISK_DIR=$(dirname $QEMU_IMG_PATH)
local DISK_DIR="$(dirname $QEMU_IMG_PATH)"

ssh_monitor_and_log "$DEST_HOST" \
"mkdir -p $DISK_DIR && qemu-img create -f qcow2 '$QEMU_IMG_PATH' '$SIZE'" \
"mkdir -p '$DISK_DIR' && qemu-img create -f qcow2 '$QEMU_IMG_PATH' '$SIZE'" \
"Failed to create new qcow image for $QEMU_IMG_PATH"
}

Expand Down

0 comments on commit 08bb8f7

Please sign in to comment.