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:
parent
42d9552263
commit
541f18a30b
@ -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