diff --git a/src/vmm_mad/remotes/xen/deploy b/src/vmm_mad/remotes/xen/deploy index c48816a0be..36d7738f94 100755 --- a/src/vmm_mad/remotes/xen/deploy +++ b/src/vmm_mad/remotes/xen/deploy @@ -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`