-
Notifications
You must be signed in to change notification settings - Fork 6
/
install-compute.sh
executable file
·37 lines (33 loc) · 984 Bytes
/
install-compute.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
apt-get install --yes \
nova-api \
nova-cert \
nova-common \
nova-conductor \
nova-scheduler \
python-nova \
python-novaclient \
nova-consoleauth \
novnc \
nova-novncproxy \
nova-compute-kvm
#pip install --upgrade 'websockify<0.6.0'
#-------------------------------------------------------------------------------
#
#cat << EOF > /usr/share/novnc/include/rfb.js.patch
#--- rfb.js.orig 2013-10-10 07:17:44.578231408 -0400
#+++ rfb.js 2013-10-10 07:17:57.914152552 -0400
#@@ -1784,7 +1784,7 @@
# that.connect = function(host, port, password, path) {
# //Util.Debug(">> connect");
#
#- nova_token = token;
#+// nova_token = token;
# rfb_host = host;
# rfb_port = port;
# rfb_password = (password !== undefined) ? password : "";
#EOF
#
#-------------------------------------------------------------------------------
#
#cd /usr/share/novnc/include/ && patch -b -p0 < rfb.js.patch