From 0fec1bb3a4e0931f19d0f6e5ba9388df0dd6a551 Mon Sep 17 00:00:00 2001 From: phamt Date: Wed, 13 Apr 2011 23:56:27 +0000 Subject: [PATCH] Update docmd routine call used in zCmd.php. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/lib/zCmd.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-UI/lib/zCmd.php b/xCAT-UI/lib/zCmd.php index cab2fe563..c6a6f5f39 100644 --- a/xCAT-UI/lib/zCmd.php +++ b/xCAT-UI/lib/zCmd.php @@ -67,7 +67,7 @@ if (isset($_GET["cmd"])) { // CLI command: chvm gpok249 --replacevs /tmp/dirEntry.txt // Replace user entry array_push($arr, $userEntry); - $xml = docmd($cmd, $tgt, $arr); + $xml = docmd($cmd, $tgt, $arr, NULL); foreach ($xml->children() as $child) { foreach ($child->children() as $data) { $data = str_replace(":|:", "\n", $data); @@ -88,7 +88,7 @@ if (isset($_GET["cmd"])) { // CLI command: mkvm gpok3 /tmp/gpok3.txt // Create user entry array_unshift($arr, $userEntry); - $xml = docmd($cmd, $tgt, $arr); + $xml = docmd($cmd, $tgt, $arr, NULL); foreach ($xml->children() as $child) { foreach ($child->children() as $data) { $data = str_replace(":|:", "\n", $data); @@ -118,7 +118,7 @@ if (isset($_GET["cmd"])) { // CLI command: xdsh gpok3 -e /var/tmp/gpok3.sh // Create user entry array_push($arr, $script); - $xml = docmd($cmd, $tgt, $arr); + $xml = docmd($cmd, $tgt, $arr, NULL); foreach ($xml->children() as $child) { foreach ($child->children() as $data) { $data = str_replace(":|:", "\n", $data);