From b2bc457842bf20137d9d798a936c2bd7a3b3a887 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Tue, 13 Dec 2011 10:18:58 +0100 Subject: [PATCH] feature #863: Fix Xen domain-id parser --- src/vmm_mad/remotes/xen/deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmm_mad/remotes/xen/deploy b/src/vmm_mad/remotes/xen/deploy index 36d7738f94..b1257de2ae 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' | cut -d' ' -f3` +domain_name=`echo $output | grep 'Started domain' | sed 's/^.*Started domain //' | tr -d '\n' | cut -d' ' -f3` out=`grep -e '^\#O CPU_CREDITS =' < $domain`