summaryrefslogtreecommitdiffstats
path: root/meta-openstack-aio-deploy/classes
diff options
context:
space:
mode:
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"