Conditionally hacking iscsi SR.
Change-Id: I0c24ab9743bf81796e78b26ea86b6f6ccc766dbc
This commit is contained in:
parent
9797dc76a3
commit
9474c3607d
@ -137,7 +137,9 @@ fi
|
||||
# Hack iSCSI SR
|
||||
run_in_domzero << SRHACK
|
||||
set -eux
|
||||
sed -ie "s/'phy'/'aio'/g" /opt/xensource/sm/ISCSISR.py
|
||||
if [ -e /opt/xensource/sm/ISCSISR.py ]; then
|
||||
sed -ie "s/'phy'/'aio'/g" /opt/xensource/sm/ISCSISR.py
|
||||
fi
|
||||
SRHACK
|
||||
|
||||
# This is important, otherwise dhcp client will fail
|
||||
|
Loading…
x
Reference in New Issue
Block a user