From 2f218a06f4af100948d2458fd1b64c5390729a5f Mon Sep 17 00:00:00 2001 From: phamt Date: Thu, 14 Feb 2013 16:10:08 +0000 Subject: [PATCH] Fixed problem updating zFCP pool. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/zvm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/zvm.pm b/xCAT-server/lib/xcat/plugins/zvm.pm index 9ef8947cd..5515e6ea2 100644 --- a/xCAT-server/lib/xcat/plugins/zvm.pm +++ b/xCAT-server/lib/xcat/plugins/zvm.pm @@ -687,7 +687,7 @@ sub removeVM { foreach (@luns) { # Update entry: status,wwpn,lun,size,range,owner,channel,tag my @info = split(',', $_); - $update = "free,$info[1],$info[2],$info[3],$info[4],,"; + $update = "free,$info[1],$info[2],$info[3],$info[4],,,"; $expression = "'s#" . $_ . "#" .$update . "#i'"; $out = `ssh $::SUDOER\@$hcp "$::SUDO sed --in-place -e $expression $::ZFCPPOOL/$pool.conf"`; }