summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2016-05-30 16:08:35 -0700
committerGuo Ruijing <ruijing.guo@intel.com>2016-05-30 16:09:09 -0700
commitbe8d32b422642e3945a7d92ceab7e72b337f9c44 (patch)
tree3173c1e557bf79101dd913ff9da579217c56e34f
parente346ab3abd59d1ea6574f6804544a9b993c99281 (diff)
Update install packages script
Change-Id: I79f8c3a4cf05b18d8020e8c96ce8f6b2d8b989bc 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: Tue, 31 May 2016 06:11:59 +0000 Reviewed-on: https://review.openstack.org/323134 Project: openstack/fuel-plugin-ovs Branch: refs/heads/master
-rwxr-xr-xdemo/02_install_packages.sh17
1 files changed, 10 insertions, 7 deletions
diff --git a/demo/02_install_packages.sh b/demo/02_install_packages.sh
index d523305..3f421ea 100755
--- a/demo/02_install_packages.sh
+++ b/demo/02_install_packages.sh
@@ -5,10 +5,12 @@ fuel ALL = (root) NOPASSWD:ALL
5EOF 5EOF
6 6
7sudo apt-get update -y 7sudo apt-get update -y
8sudo apt-get install openssh-server -y 8sudo apt-get install openssh-server git -y
9sudo apt-get autoremove gnome-settings-daemon-schemas -y 9
10sudo apt-get autoremove libmetacity-private0a metacity-common -y 10#install vnc
11sudo apt-get install gnome-session gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal -y 11sudo apt-get install gnome-session gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal vnc4server -y
12
13#install libvirt/qemu
12sudo apt-get install virt-manager libvirt-bin qemu-system -y 14sudo apt-get install virt-manager libvirt-bin qemu-system -y
13sudo virsh net-destroy default 15sudo virsh net-destroy default
14sudo virsh net-undefine default 16sudo virsh net-undefine default
@@ -17,12 +19,13 @@ sudo service libvirt-bin restart
17sudo ifconfig virbr0 down 19sudo ifconfig virbr0 down
18sudo brctl delbr virbr0 20sudo brctl delbr virbr0
19sudo apt-get install putty-tools -y 21sudo apt-get install putty-tools -y
22
23#install ntp
20sudo service ntp stop 24sudo service ntp stop
21sudo apt-get autoremove ntp -y 25sudo apt-get autoremove ntp -y
22sudo rm -rf /etc/ntp.conf.dpkg-old
23sudo rm -rf /etc/ntp.conf
24sudo apt-get install ntp -y --force-yes 26sudo apt-get install ntp -y --force-yes
25sudo bash -c 'cat << EOF >> /etc/ntp.conf 27cat << EOF | sudo tee /etc/ntp.conf
26server 127.127.1.0 28server 127.127.1.0
27fudge 127.127.1.0 stratum 10 29fudge 127.127.1.0 stratum 10
28EOF' 30EOF'
31sudo service ntp restart