Fixed bug in removezfcp option.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2012-10-25 15:54:38 +00:00
parent 5437963279
commit cfa719caa9

View File

@ -1565,6 +1565,7 @@ sub changeVM {
my $ping = `pping $node`;
if (!($ping =~ m/noping/i)) {
# Delete WWPN and LUN from sysfs
$device = lc($device);
$out = `ssh $node "echo 0x$lun > /sys/bus/ccw/drivers/zfcp/0.0.$device/0x$wwpn/unit_remove"`;
# Get source node OS