summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2016-07-27 18:50:11 -0700
committerGuo Ruijing <ruijing.guo@intel.com>2016-07-27 18:50:11 -0700
commit5e5db9819ba0a321876f91563084505cf8e65faa (patch)
treee28c77908e36a0a6bbeacf65eb0a7f7edc6c9f6a
parent7ac6f2dc11e1a57a3c384be28cb196fdf5b2094b (diff)
Fix root permission issue
Change-Id: I6d7cdab7505f5ab42c52457169dce5970f8bfac8 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Notes
Notes (review): Code-Review+2: Ruijing <ruijing.guo@intel.com> Workflow+1: Ruijing <ruijing.guo@intel.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 29 Jul 2016 00:27:52 +0000 Reviewed-on: https://review.openstack.org/348178 Project: openstack/fuel-plugin-ovs Branch: refs/heads/master
-rwxr-xr-xdemo/02_install_packages.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/demo/02_install_packages.sh b/demo/02_install_packages.sh
index 19c3d8a..d606490 100755
--- a/demo/02_install_packages.sh
+++ b/demo/02_install_packages.sh
@@ -17,6 +17,11 @@ sudo apt-get install virt-manager libvirt-bin qemu-system -y
17sudo virsh net-destroy default 17sudo virsh net-destroy default
18sudo virsh net-undefine default 18sudo virsh net-undefine default
19sudo rm -rf /etc/libvirt/qemu/networks/autostart/default.xml 19sudo rm -rf /etc/libvirt/qemu/networks/autostart/default.xml
20cat << EOF | sudo tee /etc/libvirt/qemu.conf
21user = "root"
22group = "root"
23EOF
24
20sudo service libvirt-bin restart 25sudo service libvirt-bin restart
21sudo ifconfig virbr0 down 26sudo ifconfig virbr0 down
22sudo brctl delbr virbr0 27sudo brctl delbr virbr0