aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2016-11-23 11:49:08 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-23 11:49:08 +0000
commit2446530c3230221d76877851012eb39e2a7c0360 (patch)
tree51de356a5edf2f499ac456a0deaa4b36172d21cb
parent5902d5628446ccefa03a2746e36d1980be683951 (diff)
parentae26a864122abb03cedfd5437153b5e1e47f751c (diff)
Merge "Fix libvirt error on jumphost"
-rwxr-xr-xdeploy/prepare.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy/prepare.sh b/deploy/prepare.sh
index 97771b87..06852a42 100755
--- a/deploy/prepare.sh
+++ b/deploy/prepare.sh
@@ -31,7 +31,8 @@ function download_iso()
}
function prepare_env() {
-
+ sed -i -e 's/^#user =.*/user = "root"/g' /etc/libvirt/qemu.conf
+ sed -i -e 's/^#group =.*/group = "root"/g' /etc/libvirt/qemu.conf
sudo service libvirt-bin restart
if sudo service openvswitch-switch status|grep stop; then
sudo service openvswitch-switch start