modify code format error
This commit is contained in:
parent
ae5320d82b
commit
447b31ee60
@ -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:\\(.*<part num=\\\"1\\\".*\\)\\(/>\\
|
||||
):\\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:\\(.*<part num=\\\"1\\\".*\\)\\(/>\\):\\1 id=\\\"41\\\" \\2:' /etc/systemimager/autoinstallscript.conf;fi);
|
||||
$output = xCAT::Utils->runxcmd(
|
||||
{
|
||||
command => ["xdsh"],
|
||||
|
Loading…
Reference in New Issue
Block a user