Use the temp fcoe file created for fc passthrough
Change-Id: I8126c7589ff9ab75bb5c61047eb818a8cbca670c
This commit is contained in:
parent
eb8dd3638d
commit
4d8756c0bc
|
@ -143,7 +143,7 @@ for pci in $fc_pci_device; do
|
|||
fi
|
||||
|
||||
echo $(sudo lspci | grep -i fib)
|
||||
ssh -i $PROVIDER_KEY $PROVIDER_USER@$HYPERVISOR "virsh attach-device $VIRSH_NAME /tmp/fcoe.xml"
|
||||
ssh -i $PROVIDER_KEY $PROVIDER_USER@$HYPERVISOR "virsh attach-device $VIRSH_NAME $fcoe"
|
||||
attach_result=$?
|
||||
echo "Attach result: $attach_result"
|
||||
if [[ $attach_result -eq 0 ]]; then
|
||||
|
@ -173,4 +173,4 @@ device_path=$(sudo systool -c fc_host -v | grep "Device path")
|
|||
if [[ ${device_path} -eq 0 ]]; then
|
||||
echo "Failed to install FC Drivers. Aborting."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue