Fix FC provider setup script profile.d script output

The old output was not correct in that the script would actually cause
an error to occur when parsing it. This would result in the
fc_pci_device variable to not be available, and in turn the passthrough
to fail.

Change-Id: I440ad53ac47eee871aba1d796ba6258eb7ebff52
This commit is contained in:
Patrick East 2015-06-15 15:13:39 -07:00
parent 780e54568d
commit 5803cd0999
1 changed files with 1 additions and 1 deletions

View File

@ -33,5 +33,5 @@ if [[ -z $fc_pci_device ]]; then
fc_pci_device=$(systool -c fc_host -v | grep -B12 "Online" | grep "Class Device path" | cut -d / -f 6 | tr '\n' ' ')
echo "Auto-detected FC PCI DEVICE: $fc_pci_device"
fi
echo export $fc_pci_device >> /etc/profile.d/fc_devices.sh
echo "export fc_pci_device='$fc_pci_device'" >> /etc/profile.d/fc_devices.sh
fi