feature #863: Better parsing of domainname output for Xen

This commit is contained in:
Ruben S. Montero committed 2011-12-12 22:21:43 +01:00
1 parent 9e2779831e
commit 85e3bb3eeb
1 file changed
+1 -1
+1 -1
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`