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:
parent
780e54568d
commit
5803cd0999
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user