summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-26 17:02:30 (GMT)
committerRichard Maw <richard.maw@codethink.co.uk>2015-03-23 22:58:55 (GMT)
commit7b91d9a40f855beda227e3ae88287e903b373584 (patch)
tree1198b9b5d6ccaca246dc162d73e860acbd29bc82
parentc47b003b4c891d71eb5872695ecf20b0d92de57d (diff)
downloaddefinitions-7b91d9a40f855beda227e3ae88287e903b373584.tar.gz
Add novnc
-rw-r--r--strata/openstack-services.morph6
-rw-r--r--strata/openstack-services/novnc.morph11
2 files changed, 17 insertions, 0 deletions
diff --git a/strata/openstack-services.morph b/strata/openstack-services.morph
index 8ec40c0..74c5d1c 100644
--- a/strata/openstack-services.morph
+++ b/strata/openstack-services.morph
@@ -828,3 +828,9 @@ chunks:
build-depends:
- django-openstack-auth
- lockfile
+- name: novnc
+ morph: strata/openstack-services/novnc.morph
+ repo: https://github.com/kanaka/noVNC.git
+ ref: fc00821eba469641c6c94706726c3d78e46460a2
+ unpetrify-ref: v0.5.1
+ build-depends: []
diff --git a/strata/openstack-services/novnc.morph b/strata/openstack-services/novnc.morph
new file mode 100644
index 0000000..858320a
--- /dev/null
+++ b/strata/openstack-services/novnc.morph
@@ -0,0 +1,11 @@
+name: novnc
+kind: chunk
+install-commands:
+- mkdir -p "$DESTDIR$PREFIX"/share/novnc/utils
+- install -m 444 *html "$DESTDIR$PREFIX"/share/novnc
+- install -m 444 vnc.html "$DESTDIR$PREFIX"/share/novnc/index.html
+- mkdir -p "$DESTDIR$PREFIX"/share/novnc/include
+- install -m 444 include/*.* "$DESTDIR$PREFIX"/share/novnc/include
+- mkdir -p "$DESTDIR$PREFIX"/share/novnc/images
+- install -m 444 images/*.* "$DESTDIR$PREFIX"/share/novnc/images
+- install -d "$DESTDIR"/etc/sysconfig