mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
feature #863: Better parsing of domainname output for Xen
This commit is contained in:
1 parent
9e2779831e
commit
85e3bb3eeb
1 file changed
+1
-1
@@ -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`
|
||||
|
||||
|
||||
Reference in new issue
Block a user