From 496304e28096f01657d1160507b1df4bf50d538f Mon Sep 17 00:00:00 2001 From: Amy Fong Date: Fri, 11 Apr 2014 14:01:29 -0400 Subject: OpenStack: all-in-one node Introduce image openstack-image-aio, integrating both compute and controller functionality Signed-off-by: Amy Fong --- meta-openstack-aio-deploy/classes/hosts.bbclass | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-openstack-aio-deploy/classes/hosts.bbclass (limited to 'meta-openstack-aio-deploy/classes') diff --git a/meta-openstack-aio-deploy/classes/hosts.bbclass b/meta-openstack-aio-deploy/classes/hosts.bbclass new file mode 100644 index 0000000..82c9eb7 --- /dev/null +++ b/meta-openstack-aio-deploy/classes/hosts.bbclass @@ -0,0 +1,17 @@ +# +# all-in-one hosts file +# +# The aio rootfs combines the functionality of the compute and +# the controller in one node. +# +# The aio rootfs adds another hostname aio, since we need +# ths hostname compute and controller for the system's functionality, +# we defined compute and controller in this file as well. +# +COMPUTE_IP ?= "${CONTROLLER_IP}" +COMPUTE_HOST ?= "compute" +CONTROLLER_IP ?= "128.224.149.173" +CONTROLLER_HOST ?= "controller" +MY_IP ?= "${CONTROLLER_IP}" +MY_HOST ?= "${CONTROLLER_HOST}" +DB_DATADIR ?= "/etc/postgresql" -- cgit v1.2.3-54-g00ecf