1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-14 01:57:24 +03:00

M #-: Remove quotes on libvirt domain names

This commit is contained in:
Ruben S. Montero 2021-01-31 00:55:11 +01:00
parent df47b58cc4
commit f8ff5f7699
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