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
This commit is contained in:
parent
6c8f3298fa
commit
2f218a06f4
@ -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"`;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user