summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2013-09-24 12:33:02 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2013-09-26 10:03:27 +0000
commit25606a35c7be5a61525bfcc9b302992e1450fe4e (patch)
tree064250ced68a458e5bba591873e2866b5c233d2f
parentdd12caa40f2b614c2fc4757be9a62bf532598568 (diff)
downloaddefinitions-25606a35c7be5a61525bfcc9b302992e1450fe4e.tar.gz
Add cloudinit-support Stratum morphology.
cloudinit-support.morph: Stratum morphology to add cloudinit. This stratum also adds all the necessary dependencies needed. Cloudinit is needed to provide any system the capacity of run scripts to configure it at boot time. openstack-client-base-system-x86_32-generic.morph: baserock base system (x86_32) optimized to deploy in OpenStack. It uses the 'vdaboot.configure' extension to use virtio disks, and includes the 'cloudinit-support' stratum. openstack-client-base-system-x86_64-generic.morph: baserock base system (x86_64) optimized to deploy in OpenStack as base-system-x86_32-openstack.morph does.
-rw-r--r--cloudinit-support.morph48
-rw-r--r--openstack-client-base-system-x86_32-generic.morph29
-rw-r--r--openstack-client-base-system-x86_64-generic.morph29
3 files changed, 106 insertions, 0 deletions
diff --git a/cloudinit-support.morph b/cloudinit-support.morph
new file mode 100644
index 00000000..1bb04ef0
--- /dev/null
+++ b/cloudinit-support.morph
@@ -0,0 +1,48 @@
+name: cloudinit-support
+description: A stratum with cloudinit to fit a system in the OpenStack cloud.
+kind: stratum
+build-depends:
+- morph: build-essential
+ repo: baserock:baserock/morphs
+ ref: master
+- morph: core
+ repo: baserock:baserock/morphs
+ ref: master
+- morph: foundation
+ repo: baserock:baserock/morphs
+ ref: master
+chunks:
+- name: configobj
+ repo: upstream:configobj
+ ref: baserock/morph
+ build-depends: []
+- name: python-requests
+ repo: upstream:python-requests
+ ref: baserock/morph
+ build-depends: []
+- name: python-prettytable
+ repo: upstream:python-prettytable
+ ref: baserock/morph
+ build-depends: []
+- name: python-json-patch
+ repo: upstream:python-json-patch
+ ref: baserock/morph
+ build-depends: []
+- name: python-json-pointer
+ repo: upstream:python-json-pointer
+ ref: baserock/morph
+ build-depends:
+ - python-json-patch
+- name: python-cheetah
+ repo: upstream:python-cheetah
+ ref: baserock/morph
+ build-depends: []
+- name: cloud-init
+ repo: upstream:cloud-init
+ ref: baserock/morph
+ build-depends:
+ - configobj
+ - python-requests
+ - python-prettytable
+ - python-json-pointer
+ - python-cheetah
diff --git a/openstack-client-base-system-x86_32-generic.morph b/openstack-client-base-system-x86_32-generic.morph
new file mode 100644
index 00000000..01178ea8
--- /dev/null
+++ b/openstack-client-base-system-x86_32-generic.morph
@@ -0,0 +1,29 @@
+name: openstack-client-base-system-x86_32-generic
+description: The set of strata required to have a minimal system for a 32-bit x86
+ system suitable in OpenStack.
+kind: system
+arch: x86_32
+strata:
+- morph: build-essential
+ repo: baserock:baserock/morphs
+ ref: master
+- morph: core
+ repo: baserock:baserock/morphs
+ ref: master
+- morph: foundation
+ repo: baserock:baserock/morphs
+ ref: master
+- morph: bsp-x86_32-generic
+ repo: baserock:baserock/morphs
+ ref: master
+- morph: cloudinit-support
+ repo: baserock:baserock/morphs
+ ref: master
+configuration-extensions:
+- set-hostname
+- ssh
+- add-config-files
+- simple-network
+- nfsboot
+- install-files
+- vdaboot
diff --git a/openstack-client-base-system-x86_64-generic.morph b/openstack-client-base-system-x86_64-generic.morph
new file mode 100644
index 00000000..d8309373
--- /dev/null
+++ b/openstack-client-base-system-x86_64-generic.morph
@@ -0,0 +1,29 @@
+name: openstack-client-base-system-x86_64-generic
+description: The set of strata required to have a minimal system for a 64-bit x86
+ system suitable in OpenStack.
+kind: system
+arch: x86_64
+strata:
+- morph: build-essential
+ repo: baserock:baserock/morphs
+ ref: master
+- morph: core
+ repo: baserock:baserock/morphs
+ ref: master
+- morph: foundation
+ repo: baserock:baserock/morphs
+ ref: master
+- morph: bsp-x86_64-generic
+ repo: baserock:baserock/morphs
+ ref: master
+- morph: cloudinit-support
+ repo: baserock:baserock/morphs
+ ref: master
+configuration-extensions:
+- set-hostname
+- ssh
+- add-config-files
+- simple-network
+- nfsboot
+- install-files
+- vdaboot