summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuan Xie <huan.xie@citrix.com>2016-05-06 03:03:28 -0700
committerBob Ball <bob.ball@citrix.com>2016-05-16 09:22:27 +0100
commit793031294867d04d855b29db1f976efb2a3784d5 (patch)
tree6884b4acba8b46d96febd900cf0744f192e4261b
parentf9384dc7e1f52986a99a3caf5d34ea2e85ae328b (diff)
sed need to match whole 'phy' and 'aio'
Notes
Notes (review): Code-Review+2: huan <huan.xie@citrix.com> Workflow+1: Bob Ball <bob.ball@citrix.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 16 May 2016 09:16:09 +0000 Reviewed-on: https://review.openstack.org/316644 Project: openstack/fuel-plugin-xenserver Branch: refs/heads/8.0
-rwxr-xr-xdeployment_scripts/compute_post_deployment.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/deployment_scripts/compute_post_deployment.py b/deployment_scripts/compute_post_deployment.py
index 47883d4..f04bdea 100755
--- a/deployment_scripts/compute_post_deployment.py
+++ b/deployment_scripts/compute_post_deployment.py
@@ -408,7 +408,8 @@ def apply_sm_patch(himn, username, password):
408 ('xe host-param-get uuid=$(xe host-list --minimal) ' 408 ('xe host-param-get uuid=$(xe host-list --minimal) '
409 'param-name=software-version param-key=product_version_text')) 409 'param-name=software-version param-key=product_version_text'))
410 if ver == "6.5": 410 if ver == "6.5":
411 ssh(himn, username, password, "sed -i s/'phy'/'aio'/g /opt/xensource/sm/ISCSISR.py") 411 ssh(himn, username, password,
412 "sed -i s/\\'phy\\'/\\'aio\\'/g /opt/xensource/sm/ISCSISR.py")
412 413
413 414
414if __name__ == '__main__': 415if __name__ == '__main__':