mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
libvirt/QEMU has problem with simple numberic names, it's confused with the internal snapshot IDs: https://bugzilla.redhat.com/show_bug.cgi?id=733143
This commit is contained in:
parent
bbaf17a992
commit
d8cc0fea13
@ -22,7 +22,7 @@ source $(dirname $0)/../../scripts_common.sh
|
||||
DOMAIN="$1"
|
||||
SNAP_ID="$2"
|
||||
|
||||
data=`virsh --connect $LIBVIRT_URI snapshot-create-as $DOMAIN --name $SNAP_ID`
|
||||
data=`virsh --connect $LIBVIRT_URI snapshot-create-as $DOMAIN --name "snap-${SNAP_ID}"`
|
||||
|
||||
if [ "$?" = "0" ]; then
|
||||
echo "$data" | awk '{print $3}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user