From 85e3bb3eebe7b6eb564baeb724446d8b10f17be4 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Mon, 12 Dec 2011 22:21:43 +0100 Subject: [PATCH] feature #863: Better parsing of domainname output for Xen --- 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 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`