Update build-image.sh to reflect nodepool config

We have added and moved elements around and that needs to be reflected
in tools/build-image.sh so that local image builds result in functional
images.

Change-Id: Iaba5eac8ff65b10d608c7d5aa84f083ee00a8319
This commit is contained in:
Clark Boylan 2016-07-11 12:34:20 -07:00
parent 0cb4ea8a12
commit c0fd48390f

View File

@ -29,5 +29,16 @@ export CONFIG_SOURCE=${CONFIG_SOURCE:-https://git.openstack.org/openstack-infra/
export CONFIG_REF=${CONFIG_REF:-master}
export EXTRA_ELEMENTS=${EXTRA_ELEMENTS:-}
disk-image-create -x --no-tmpfs -o $IMAGE_NAME $DISTRO \
vm openstack-repos puppet nodepool-base cache-devstack simple-init $EXTRA_ELEMENTS
# The list of elements here should match nodepool/nodepool.yaml
disk-image-create -x --no-tmpfs -o $IMAGE_NAME \
$DISTRO \
vm \
simple-init \
openstack-repos \
nodepool-base \
cache-devstack \
cache-bindep \
growroot \
infra-package-needs \
stackviz \
$EXTRA_ELEMENTS