diskspec typo
This commit is contained in:
parent
b8aed5fe45
commit
8c5cab92f7
@ -37,7 +37,7 @@ VMDISKS=$(virsh domblklist $VM | egrep -o vd.)
|
||||
DISKSPEC=""
|
||||
for disk in $VMDISKS
|
||||
do
|
||||
DISKSPEC+="--discspec $disk,file=/srv/snapshots/$VM/$VM-$disk-$SNAPNAME.qcow2,snapshot=external "
|
||||
DISKSPEC+="--diskspec $disk,file=/srv/snapshots/$VM/$VM-$disk-$SNAPNAME.qcow2,snapshot=external "
|
||||
done
|
||||
|
||||
virsh snapshot-create-as --domain $VM --name $SNAPNAME --quiesce --atomic --disk-only $DISKSPEC > /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user