Skip to content

Commit

Permalink
add fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Valitov committed Sep 14, 2020
1 parent 6e702e3 commit 08fbdd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ options:
-c, --clean remove kernel and initramfs volumes after VM
shutdown
--shared using scsi disks as shared disk (The qcow2
format is also replaced with raw.) Work if -f is enabled.
format is also replaced with raw.)
-G, --gdb [HOST]:PORT Enable QEMU GDB stub via HOST:PORT
-k, --kopt PARAM pass a kernel option
-K, --keep don't shutdown VM immediately
Expand Down Expand Up @@ -706,7 +706,9 @@ HOST=$(virsh hostname)
printf "\b\b\b: $HOST"
for volspec in "${VOLUMES[@]}"; do
IFS=':' read -ra volume <<< "$volspec"
adddev::lock
vm::vol::upload "${volume[@]}"
adddev::unlock
done
[ -n "$FORCE" ] && vm::remove "$VMNAME"

Expand Down

0 comments on commit 08fbdd6

Please sign in to comment.