Browse Source

Update install packages script

Change-Id: I79f8c3a4cf05b18d8020e8c96ce8f6b2d8b989bc
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Guo Ruijing 2 years ago
parent
commit
be8d32b422
1 changed files with 10 additions and 7 deletions
  1. 10
    7
      demo/02_install_packages.sh

+ 10
- 7
demo/02_install_packages.sh View File

@@ -5,10 +5,12 @@ fuel ALL = (root) NOPASSWD:ALL
5 5
 EOF
6 6
 
7 7
 sudo apt-get update -y
8
-sudo apt-get install openssh-server -y
9
-sudo apt-get autoremove gnome-settings-daemon-schemas -y
10
-sudo apt-get autoremove libmetacity-private0a metacity-common -y
11
-sudo apt-get install gnome-session gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal -y
8
+sudo apt-get install openssh-server git -y
9
+
10
+#install vnc
11
+sudo apt-get install gnome-session gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal vnc4server -y
12
+
13
+#install libvirt/qemu
12 14
 sudo apt-get install virt-manager libvirt-bin qemu-system -y
13 15
 sudo virsh net-destroy default
14 16
 sudo virsh net-undefine default
@@ -17,12 +19,13 @@ sudo service libvirt-bin restart
17 19
 sudo ifconfig virbr0 down
18 20
 sudo brctl delbr virbr0
19 21
 sudo apt-get install putty-tools -y
22
+
23
+#install ntp
20 24
 sudo service ntp stop
21 25
 sudo apt-get autoremove ntp -y
22
-sudo rm -rf /etc/ntp.conf.dpkg-old
23
-sudo rm -rf /etc/ntp.conf
24 26
 sudo apt-get install ntp -y --force-yes
25
-sudo bash -c 'cat << EOF >> /etc/ntp.conf
27
+cat << EOF | sudo tee /etc/ntp.conf
26 28
 server 127.127.1.0
27 29
 fudge  127.127.1.0 stratum 10
28 30
 EOF'
31
+sudo service ntp restart

Loading…
Cancel
Save