Fixed bug in addzfcp option.

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

View File

@ -937,6 +937,7 @@ sub changeVM {
}
# Set WWPN and LUN in sysfs
$device = lc($device);
$out .= `ssh $node "echo 0x$wwpn > /sys/bus/ccw/drivers/zfcp/0.0.$device/port_add"`;
$out .= `ssh $node "echo 0x$lun > /sys/bus/ccw/drivers/zfcp/0.0.$device/0x$wwpn/unit_add"`;