summaryrefslogtreecommitdiffstats
path: root/meta-openstack-aio-deploy/classes
diff options
context:
space:
mode:
authorAmy Fong <amy.fong@windriver.com>2014-04-11 14:01:29 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-04-15 19:49:52 -0400
commit496304e28096f01657d1160507b1df4bf50d538f (patch)
treeb568519f38999c1135ff0e5fee918d0fd15b2c52 /meta-openstack-aio-deploy/classes
parentc533b15bb52825f9062d2c7b7e945fb6205c7503 (diff)
downloadmeta-cloud-services-496304e28096f01657d1160507b1df4bf50d538f.tar.gz
OpenStack: all-in-one node
Introduce image openstack-image-aio, integrating both compute and controller functionality Signed-off-by: Amy Fong <amy.fong@windriver.com>
Diffstat (limited to 'meta-openstack-aio-deploy/classes')
-rw-r--r--meta-openstack-aio-deploy/classes/hosts.bbclass17
1 files changed, 17 insertions, 0 deletions
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 @@
1#
2# all-in-one hosts file
3#
4# The aio rootfs combines the functionality of the compute and
5# the controller in one node.
6#
7# The aio rootfs adds another hostname aio, since we need
8# ths hostname compute and controller for the system's functionality,
9# we defined compute and controller in this file as well.
10#
11COMPUTE_IP ?= "${CONTROLLER_IP}"
12COMPUTE_HOST ?= "compute"
13CONTROLLER_IP ?= "128.224.149.173"
14CONTROLLER_HOST ?= "controller"
15MY_IP ?= "${CONTROLLER_IP}"
16MY_HOST ?= "${CONTROLLER_HOST}"
17DB_DATADIR ?= "/etc/postgresql"