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:
parent
df47b58cc4
commit
f8ff5f7699
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user