From 447b31ee60dc1f9b77cdc104faa6e3b2a2f066a0 Mon Sep 17 00:00:00 2001 From: huweihua Date: Thu, 4 Sep 2014 02:07:02 -0400 Subject: [PATCH] modify code format error --- xCAT-server/lib/xcat/plugins/imgcapture.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/imgcapture.pm b/xCAT-server/lib/xcat/plugins/imgcapture.pm index d679516ac..5a2ff9946 100644 --- a/xCAT-server/lib/xcat/plugins/imgcapture.pm +++ b/xCAT-server/lib/xcat/plugins/imgcapture.pm @@ -623,8 +623,7 @@ sub sysclone_prepclient { my $nthash = $nodetypetab->getNodesAttribs(\@nodes, ['arch']); my $tmp = $nthash->{$node}->[0]->{arch}; if ( $tmp eq 'ppc64'){ - $cmd = qq(if ! cat /etc/systemimager/autoinstallscript.conf |grep 'part num=\\\"1\\\"' |grep 'id=' >/dev/null ;then sed -i 's:\\(.*\\ -):\\1 id=\\\"41\\\" \\2:' /etc/systemimager/autoinstallscript.conf;fi); + $cmd = qq(if ! cat /etc/systemimager/autoinstallscript.conf |grep 'part num=\\\"1\\\"' |grep 'id=' >/dev/null ;then sed -i 's:\\(.*\\):\\1 id=\\\"41\\\" \\2:' /etc/systemimager/autoinstallscript.conf;fi); $output = xCAT::Utils->runxcmd( { command => ["xdsh"],