aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/prepare.sh
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2016-11-28 14:40:34 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-28 14:40:34 +0000
commit3f8a00051ed34fddc1c18e2543142a40f60481d7 (patch)
treeee138f5511ad17ede8b5be9105fbad63f965116e /deploy/prepare.sh
parent3b43081ea5434ef0819c02e9478aa135794971db (diff)
parentfde06357ee00d1cab9daa397d55f859cf1478a2c (diff)
Merge "Fix libvirt error on jumphost" into stable/colorado
Diffstat (limited to 'deploy/prepare.sh')
-rwxr-xr-xdeploy/prepare.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy/prepare.sh b/deploy/prepare.sh
index d326bd5b..4e271967 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