summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Nyström <david.nystrom@enea.com>2012-12-06 11:31:14 +0100
committerDavid Nyström <david.nystrom@enea.com>2012-12-07 15:32:31 +0100
commit26348cc9a01f0404a699eec0a86381ff364f439c (patch)
tree0df61abe7c4e8778a7467543e167c2e3fe22a50c
parent591945c8ee3b91ab9b35464e016725412789d1b9 (diff)
downloadmeta-virtualization-26348cc9a01f0404a699eec0a86381ff364f439c.tar.gz
Added template cloud-* images
Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-extended/images/cloud-image-compute.bb14
-rw-r--r--recipes-extended/images/cloud-image-controller.bb34
-rw-r--r--recipes-extended/images/cloud-image-guest.bb18
3 files changed, 66 insertions, 0 deletions
diff --git a/recipes-extended/images/cloud-image-compute.bb b/recipes-extended/images/cloud-image-compute.bb
new file mode 100644
index 00000000..197624f9
--- /dev/null
+++ b/recipes-extended/images/cloud-image-compute.bb
@@ -0,0 +1,14 @@
1IMAGE_FEATURES += "ssh-server-openssh"
2EXTRA_IMAGE_FEATURES = "tools-debug debug-tweaks"
3
4IMAGE_INSTALL = "\
5 ${CORE_IMAGE_BASE_INSTALL} \
6 packagegroup-core-basic \
7 openvswitch \
8 libvirt \
9 openflow \
10 "
11
12inherit core-image
13
14IMAGE_FSTYPES = "tar.gz"
diff --git a/recipes-extended/images/cloud-image-controller.bb b/recipes-extended/images/cloud-image-controller.bb
new file mode 100644
index 00000000..74f724b7
--- /dev/null
+++ b/recipes-extended/images/cloud-image-controller.bb
@@ -0,0 +1,34 @@
1IMAGE_FEATURES += "ssh-server-openssh package-management"
2EXTRA_IMAGE_FEATURES = "tools-debug debug-tweaks"
3
4IMAGE_INSTALL = "\
5 ${CORE_IMAGE_BASE_INSTALL} \
6 ${ROOTFS_PKGMANAGE_BOOTSTRAP} \
7 packagegroup-core-basic \
8 openvswitch \
9 openvswitch-controller \
10 openvswitch-switch \
11 openvswitch-brcompat \
12 criu \
13 libvirt \
14 libvirt-libvirtd \
15 libvirt-python \
16 libvirt-virsh \
17 openflow \
18 qemu \
19 kernel-modules \
20 dhcp-client \
21 perl-modules \
22 grub \
23 mysql5 \
24 python-twisted \
25 python-lxml \
26 "
27
28inherit core-image
29inherit image-vmdk
30
31IMAGE_FSTYPES = "vmdk tar.gz"
32
33# Ensure extra space for guest images
34#IMAGE_ROOTFS_EXTRA_SPACE = "41943040"
diff --git a/recipes-extended/images/cloud-image-guest.bb b/recipes-extended/images/cloud-image-guest.bb
new file mode 100644
index 00000000..818a5131
--- /dev/null
+++ b/recipes-extended/images/cloud-image-guest.bb
@@ -0,0 +1,18 @@
1IMAGE_FEATURES += "ssh-server-openssh package-management"
2EXTRA_IMAGE_FEATURES = "tools-debug debug-tweaks"
3
4IMAGE_INSTALL = "\
5 ${CORE_IMAGE_BASE_INSTALL} \
6 ${ROOTFS_PKGMANAGE_BOOTSTRAP} \
7 packagegroup-core-basic \
8 openflow \
9 qemu \
10 kernel-modules \
11 tcpdump \
12 dhcp-client \
13 "
14
15inherit core-image
16inherit image-vmdk
17
18IMAGE_FSTYPES += "vmdk"