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

feature #863: Better parsing of domainname output for Xen

This commit is contained in:
Ruben S. Montero 2011-12-12 22:21:43 +01:00
parent 9e2779831e
commit 85e3bb3eeb

View File

@ -37,7 +37,7 @@ output=`$XM_CREATE $domain`
error_exit $? "Unable to create domain"
domain_name=`echo $output | grep 'Started domain' | sed 's/^.*Started domain //' | tr -d '\n'`
domain_name=`echo $output | grep 'Started domain' | cut -d' ' -f3`
out=`grep -e '^\#O CPU_CREDITS =' < $domain`