From 1902d0a13babdb2b13850dab9baa364be2cadd39 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Fri, 13 Sep 2013 00:11:48 -0400 Subject: novnc: introduce no VNC for guest console access Signed-off-by: Bruce Ashfield --- .../python/python-novnc/python-distutils.patch | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-novnc/python-distutils.patch (limited to 'meta-openstack/recipes-devtools/python/python-novnc') diff --git a/meta-openstack/recipes-devtools/python/python-novnc/python-distutils.patch b/meta-openstack/recipes-devtools/python/python-novnc/python-distutils.patch new file mode 100644 index 0000000..e8acded --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-novnc/python-distutils.patch @@ -0,0 +1,51 @@ +Index: git/setup.py +=================================================================== +--- /dev/null ++++ git/setup.py +@@ -0,0 +1,14 @@ ++#!/usr/bin/env python ++ ++from distutils.core import setup ++ ++setup(name='python-novnc', ++ version='2012.1~e3', ++ description='NoVNC python libraries', ++ author='Ghe Rivero', ++ author_email='ghe.rivero@stackops.com', ++ url='http://www.stackops.com', ++ packages = ['novnc'], ++ package_dir = {'novnc':'utils'}, ++ py_modules=['wsproxy','websocket','web','json2graph','img2js'], ++) +Index: git/utils/__init__.py +=================================================================== +--- /dev/null ++++ git/utils/__init__.py +@@ -0,0 +1 @@ ++# vim: tabstop=4 shiftwidth=4 softtabstop=4 +Index: git/utils/nova-novncproxy +=================================================================== +--- git.orig/utils/nova-novncproxy ++++ git/utils/nova-novncproxy +@@ -27,7 +27,7 @@ from oslo.config import cfg + import socket + import sys + +-import websockify ++from novnc import wsproxy + + from nova import config + from nova import context +Index: git/utils/websockify +=================================================================== +--- git.orig/utils/websockify ++++ git/utils/websockify +@@ -13,7 +13,7 @@ as taken from http://docs.python.org/dev + + import signal, socket, optparse, time, os, sys, subprocess + from select import select +-import websocket ++from novnc import websocket + try: + from urllib.parse import parse_qs, urlparse + except: -- cgit v1.2.3-54-g00ecf