summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-extended/images/openstack-image-controller.bb
blob: d2cc90f2ef60f44e4c5c5f48bd6177065a24caf7 (plain)
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
DESCRIPTION = "Openstack controller node image"
LICENSE = "MIT"

OPENSTACK_CONTROLLER_EXTRA_INSTALL ?= ""

IMAGE_INSTALL = "\
    ${CORE_IMAGE_BASE_INSTALL} \
    ${ROOTFS_PKGMANAGE_BOOTSTRAP} \
    packagegroup-core-full-cmdline \
    packagegroup-cloud-controller \
    packagegroup-cloud-network \
    packagegroup-cloud-debug \
    packagegroup-cloud-extras \
    ${@base_contains('OPENSTACK_EXTRA_FEATURES', 'benchmarking', 'packagegroup-cloud-benchmarking', '', d)} \
    ${OPENSTACK_CONTROLLER_EXTRA_INSTALL} \
    "

IMAGE_FEATURES += " ssh-server-openssh"
POST_KEYSTONE_SETUP_COMMAND = "/etc/keystone/hybrid-backend-setup"

inherit core-image
inherit openstack-base
inherit identity

# Ensure extra space for guest images, and rabbit MQ has a hard coded
# check for 2G of free space, so we use 5G as a starting point.
IMAGE_ROOTFS_EXTRA_SPACE_append += "+ 5000000"