1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

M #-: Remove quotes on libvirt domain names

(cherry picked from commit f8ff5f76990d37fd2bf43bad672e8ed5c15c9a34)
This commit is contained in:
Ruben S. Montero 2021-01-31 00:55:11 +01:00
parent 42d9552263
commit 541f18a30b
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -29,7 +29,7 @@ DATA=`virsh --connect $LIBVIRT_URI create $DEP_FILE`
if [ "x$?" = "x0" ]; then
DOMAIN_ID=$(echo $DATA | sed 's/Domain //' | sed 's/ created from .*$//')
DOMAIN_ID=$(echo $DATA | sed 's/Domain //' | sed 's/ created from .*$//' | tr -d "'")
UUID=$(virsh --connect $LIBVIRT_URI dominfo $DOMAIN_ID | grep UUID: | awk '{print $2}')
echo $UUID